summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorDavid Kaufmann <astra@fsinf.at>2011-12-03 04:43:48 +0100
committerDavid Kaufmann <astra@fsinf.at>2011-12-03 04:43:48 +0100
commitdda59f59ee9fd9a9585aecf6c306354a2746b710 (patch)
treefbccf8477291b96453e142e28bd88cb823f35bac /bin
parent92de6534f72f65dde5204ace2459ab1168360fb8 (diff)
downloadconfig-dda59f59ee9fd9a9585aecf6c306354a2746b710.tar.gz
fixed bug
Diffstat (limited to 'bin')
-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