aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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