summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2012-01-07 16:18:04 +0100
committerFabian Affolter <fabian@affolter-engineering.ch>2012-01-07 16:18:04 +0100
commit2ac29c67686752a326e32680610df8a8f89e8c4f (patch)
treed24af1a6191009baf93510b6b9bd32713534a9b4
parent5d604a7e9df8b5eb036bb8914664ce681f660111 (diff)
downloadscripts-2ac29c67686752a326e32680610df8a8f89e8c4f.tar.bz2
scripts-2ac29c67686752a326e32680610df8a8f89e8c4f.tar.xz
Missing newline added
-rw-r--r--alpine-mirror.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/alpine-mirror.sh b/alpine-mirror.sh
index 2050c88..d3970e9 100644
--- a/alpine-mirror.sh
+++ b/alpine-mirror.sh
@@ -18,7 +18,9 @@ SRC=rsync://rsync.alpinelinux.org/alpine/
DEST=/data01/mirror/alpine/
## Delete the old exclusion file
-rm $FILEmkdir -p $DEST
+rm $FILE
+
+mkdir -p $DEST
## Make sure we never run 2 rsync at the same time
lockfile="/tmp/alpine-mirror.lock"