summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-30 19:32:20 +0300
committerAlberts Muktupāvels <alberts.muktupavels@gmail.com>2017-04-30 19:32:20 +0300
commit6e18f10ac742903d925eb6f5ff75bbbe45da6114 (patch)
tree3b28313d3ae20d8412023815db43965b55915bd7
parentdeee5b17fc4e93025cd3412f1e3b4a71cb9e9ba6 (diff)
downloadlibwnck-6e18f10ac742903d925eb6f5ff75bbbe45da6114.tar.gz
fix builddir != srcdir
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 6f5ad11..6def199 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -27,6 +27,8 @@ gtkdocize --copy || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
{ set +x; } 2>/dev/null
+cd "$olddir"
+
if [ -z "$NOCONFIGURE" ]; then
set -x
$srcdir/configure "$@" || exit 1