Fix spelling of clear option
authorAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Jul 2013 12:22:54 +0000 (12:22 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 18 Jul 2013 12:22:54 +0000 (12:22 +0000)
update-archive/update-archive.sh

index c0a70ae..85a0423 100755 (executable)
@@ -103,7 +103,7 @@ for vdist in $DISTRIBUTIONS ; do
        cd $ftpdir
        test -d tmp || mkdir tmp
        # Uncomment to clean the .db (cache)
-       if $clean; then
+       if $clear; then
                rm tmp/*
        fi