summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/load.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/load.sh b/bin/load.sh
index e057fee..c9c8df6 100755
--- a/bin/load.sh
+++ b/bin/load.sh
@@ -8,6 +8,8 @@ CLEAN=".vim"
# fetch file from server
$WGET -q "${URL}${FILE}"
+cd ~
+
if [ "$1" == "clean" ]; then
for i in $CLEAN
do
@@ -15,6 +17,5 @@ if [ "$1" == "clean" ]; then
done
fi
-cd ~
tar -xzf $FILE --strip-components=1
rm $FILE