aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-02-21 01:54:06 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-02-21 01:54:06 +0000
commit3ea519f2febed6f1247156f89cbe75e7f00f3756 (patch)
tree6e94ccf22f49878e9be42ae6007bf1bfb3a914cd
parente38be5cb6d9dd1af40063a7d3c617621dbe0c83f (diff)
fixed git pull code
svn path=/trunk/; revision=16011
-rwxr-xr-xscripts/update-developer-layout.sh8
1 files changed, 6 insertions, 2 deletions
diff --git a/scripts/update-developer-layout.sh b/scripts/update-developer-layout.sh
index 7beea6f5..ad58957c 100755
--- a/scripts/update-developer-layout.sh
+++ b/scripts/update-developer-layout.sh
@@ -32,5 +32,9 @@ for section in abstractions doc externals packages pd scripts; do
cd ..
done
-test -e $dir/pd/.git && \
- cd $dir/pd && git pull origin master
+if [ -e $svn_root_dir/pd/.git ]; then
+ echo "cd $svn_root_dir/pd && git pull origin master"
+ cd $svn_root_dir/pd && git pull origin master
+else
+ echo "no git found at $svn_root_dir/pd/.git"
+fi