]> arthur.barton.de Git - bup.git/blobdiff - cmd/import-rdiff-backup-cmd.sh
Call date with -d since it's more portable than --date.
[bup.git] / cmd / import-rdiff-backup-cmd.sh
index b86404df481daa6475f833561003226b1ac4833e..9a668c93936bbedf4204e0a78d003d4f1083af6e 100755 (executable)
@@ -57,7 +57,7 @@ echo "$backups" |
 while read timestamp type; do
     tmpdir=$(must mktemp -d) || exit $?
 
-    echo "Importing backup from $(date --date=@$timestamp +%c) " \
+    echo "Importing backup from $(date -@$timestamp +%c) " \
         "($counter / $backups_count)" 1>&2
     echo 1>&2