[X2Go-Commits] [maintenancescripts] 03/05: git/misc/update-repository-posixacls: use pushd and popd instead of cd.
git-admin at x2go.org
git-admin at x2go.org
Mon Mar 9 01:58:58 CET 2015
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository maintenancescripts.
commit bc831e563849ff5449e864b34f71f92903833c48
Author: Mihai Moldovan <ionic at ionic.de>
Date: Mon Mar 9 01:57:37 2015 +0100
git/misc/update-repository-posixacls: use pushd and popd instead of cd.
---
git/misc/update-repository-posixacls | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/git/misc/update-repository-posixacls b/git/misc/update-repository-posixacls
index 1d6bdbb..0effc80 100755
--- a/git/misc/update-repository-posixacls
+++ b/git/misc/update-repository-posixacls
@@ -7,7 +7,7 @@ set -e
PACKAGE="$1"
-cd "$PACKAGE.git"
+pushd "${PACKAGE}.git"
# hooks
[ -f hooks/post-receive.tmp ] && {
@@ -54,5 +54,4 @@ cd "$PACKAGE.git"
rm info/exclude.tmp
}
# Go back to the parent directory
-cd ..
-
+popd
--
Alioth's /srv/git/code.x2go.org/maintenancescripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/maintenancescripts.git
More information about the x2go-commits
mailing list