diff options
| author | David Kaufmann <astra@fsinf.at> | 2011-11-15 16:04:23 +0100 |
|---|---|---|
| committer | David Kaufmann <astra@fsinf.at> | 2011-11-15 16:04:23 +0100 |
| commit | 890bcf73e280fcf2d518ea6396de9afc0141e1df (patch) | |
| tree | 060aad4d102968b91c4c17d91bf5ce00ac81222d | |
| parent | da275ceb1e5c4813a7a27e92a002c18a6ff22072 (diff) | |
| download | config-890bcf73e280fcf2d518ea6396de9afc0141e1df.tar.gz | |
bugfixes in load.sh
| -rwxr-xr-x | bin/load.sh | 8 |
1 files 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 |
