Fix spelling of clear option
[git-tools-moved-to-github.git] / 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