summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Williams <peterw@src.gnome.org>2000-06-29 21:09:52 +0000
committerPeter Williams <peterw@src.gnome.org>2000-06-29 21:09:52 +0000
commit758ffb3653f152961b617181a54501b194b611b9 (patch)
treee2ebec8e947a8da3855912c8ba9f55e8317cc9b5
parent85d2280d93cf05cb8c98f6642ad3e86ce8852161 (diff)
downloadgnome-common-unlabeled-1.1.2.tar.gz
Dist fixes -- make balsa-dcheck and make RPMunlabeled-1.1.2
And the potfiles svn path=/branches/unlabeled-1.1.2/; revision=1298
-rw-r--r--macros/offset-tool.sh.in30
1 files changed, 13 insertions, 17 deletions
diff --git a/macros/offset-tool.sh.in b/macros/offset-tool.sh.in
index 9ccc007..c28b50f 100644
--- a/macros/offset-tool.sh.in
+++ b/macros/offset-tool.sh.in
@@ -34,18 +34,18 @@ case "${top_srcdir}" in
test -f ../config.status && top_builddir=".."
test -f config.status && top_builddir="."
;;
-..)
- top_builddir=".."
- real_top_srcdir=".."
- ;;
-.)
- top_builddir="."
- real_top_srcdir"."
- ;;
+#..)
+# top_builddir=".."
+# real_top_srcdir=".."
+# ;;
+#.)
+# top_builddir="."
+# real_top_srcdir"."
+# ;;
*)
- test -d ../../${real_top_srcdir} && top_builddir="../.."
- test -d ../${real_top_srcdir} && top_builddir=".."
- test -d ./${real_top_srcdir} && top_builddir="."
+ test -f ../../${real_top_srcdir}/configure && top_builddir="../.."
+ test -f ../${real_top_srcdir}/configure && top_builddir=".."
+ test -f ./${real_top_srcdir}/configure && top_builddir="."
;;
esac
@@ -53,12 +53,6 @@ case "${real_top_srcdir}" in
/*)
header_dots="${real_top_srcdir}"
;;
-..)
- header_dots=".."
- ;;
-.)
- header_dots="."
- ;;
*)
header_dots="${top_dots}${real_top_srcdir}"
;;
@@ -69,6 +63,8 @@ esac
tmp="${top_srcdir}"
top_srcdir="${header_dots}"
+echo top builddir: ${top_builddir}
+
if test -r "${top_builddir}/${tool_defs}" ; then
. "${top_builddir}/${tool_defs}"
fi