diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-21 01:54:06 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2012-02-21 01:54:06 +0000 |
commit | 3ea519f2febed6f1247156f89cbe75e7f00f3756 (patch) | |
tree | 6e94ccf22f49878e9be42ae6007bf1bfb3a914cd /scripts | |
parent | e38be5cb6d9dd1af40063a7d3c617621dbe0c83f (diff) |
fixed git pull code
svn path=/trunk/; revision=16011
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-developer-layout.sh | 8 |
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 |