aboutsummaryrefslogtreecommitdiffstats
path: root/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh6
1 files changed, 1 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 88308190..7151317a 100755
--- a/build.sh
+++ b/build.sh
@@ -32,8 +32,7 @@ function download_git()
file_dir=$CACHE_DIR/${1%.*}
if [[ -d $file_dir/.git ]]; then
cd $file_dir
- git fetch origin master
- git checkout origin/master
+ git pull origin master
cd -
else
rm -rf $CACHE_DIR/$file_dir
@@ -74,9 +73,6 @@ function download_packages()
download_local $name $i
fi
done
-
- git fetch
- git checkout origin/master -- $COMPASS_DIR/deploy/adapters
}
function copy_file()