[gnome-settings-daemon] build: Follow-up to 43b8dc4 that doesn't require bash
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] build: Follow-up to 43b8dc4 that doesn't require bash
- Date: Thu, 3 Nov 2016 08:23:14 +0000 (UTC)
commit c5735025d9a802fb62ba827646ffb26c26622d8e
Author: Bastien Nocera <hadess hadess net>
Date: Thu Nov 3 09:21:58 2016 +0100
build: Follow-up to 43b8dc4 that doesn't require bash
Don't use pushd/popd as that requires bash.
https://bugzilla.gnome.org/show_bug.cgi?id=773870
autogen.sh | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index 31faff3..37e774f 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -7,6 +7,8 @@ USE_GNOME2_MACROS=1
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
+olddir="`pwd`"
+
PKG_NAME="gnome-settings-daemon"
(test -f $srcdir/configure.ac \
@@ -22,7 +24,7 @@ which gnome-autogen.sh || {
exit 1
}
-pushd "$srcdir"
+cd "$srcdir"
# Fetch submodules if needed
if test ! -f plugins/media-keys/gvc/Makefile.am; then
@@ -31,6 +33,6 @@ if test ! -f plugins/media-keys/gvc/Makefile.am; then
fi
git submodule update
-popd
+cd "$olddir"
. gnome-autogen.sh
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]