[gnome-games] autogen.sh: Add missing cd back to original dir
- From: Adrien Plazas <aplazas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] autogen.sh: Add missing cd back to original dir
- Date: Tue, 31 Jan 2017 15:16:10 +0000 (UTC)
commit 8bdae6439fc5741a147f7f866ed02e47ad3a3bd1
Author: Adrien Plazas <kekun c121 arch suse de>
Date: Tue Jan 31 16:00:44 2017 +0100
autogen.sh: Add missing cd back to original dir
autogen.sh | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index e275a9d..c0175f5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,6 @@
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
+origdir=`pwd`
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
@@ -27,6 +28,8 @@ intltoolize --force --copy --automake || exit 1
autoreconf --verbose --force --install -Wno-portability || exit 1
set +x
+cd "$origdir"
+
if [ "$NOCONFIGURE" = "" ]; then
set -x
$srcdir/configure "$@" || exit 1
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]