summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:10:55 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-14 20:10:55 +0200
commitf6be1d3d1304e0e17b28dd7d2e6bf40602f0bde1 (patch)
tree85b59e487d43632f0759be50103f426d9ae757bf
parent77f091c8c7ab6dbd1d1edc778a8da7ff62731f6b (diff)
downloadvim-polyglot-f6be1d3d1304e0e17b28dd7d2e6bf40602f0bde1.tar.gz
vim-polyglot-f6be1d3d1304e0e17b28dd7d2e6bf40602f0bde1.zip
Reorganize build script a little
-rwxr-xr-xbuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/build b/build
index 3a4b3ee0..85f1844a 100755
--- a/build
+++ b/build
@@ -50,10 +50,6 @@ copy_dir() {
done
}
-rm -rf tmp
-rm -rf $DIRS
-mkdir -p tmp
-
PACKS="
arduino:sudar/vim-arduino-syntax
bundler:tpope/vim-bundler
@@ -100,6 +96,10 @@ PACKS="
xls:vim-scripts/XSLT-syntax
"
+rm -rf tmp
+rm -rf $DIRS
+mkdir -p tmp
+
printf "Downloading packs..."
download "$PACKS"
extract "$PACKS"