From 890bcf73e280fcf2d518ea6396de9afc0141e1df Mon Sep 17 00:00:00 2001 From: David Kaufmann Date: Tue, 15 Nov 2011 16:04:23 +0100 Subject: bugfixes in load.sh --- bin/load.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/load.sh b/bin/load.sh index 9c810b7..e057fee 100755 --- a/bin/load.sh +++ b/bin/load.sh @@ -1,9 +1,5 @@ #!/bin/bash -# goto root dir (this script resides in src) -BASEDIR=`dirname $(readlink -f $0)` -cd ${BASEDIR}/../ - WGET=$(which wget) URL="http://pluto.fsinf.at/~astra/config/" FILE="skel.tar.gz" @@ -12,10 +8,10 @@ CLEAN=".vim" # fetch file from server $WGET -q "${URL}${FILE}" -if [ $1 -eq "clean"]; then +if [ "$1" == "clean" ]; then for i in $CLEAN do - echo "rm -rf ${i}" + rm -rf $i done fi -- cgit v1.2.3