]> git.michaelhowe.org Git - packages/b/bup.git/commitdiff
Call date with -d since it's more portable than --date.
authorThomas Klausner <wiz@NetBSD.org>
Sun, 3 Nov 2013 11:55:25 +0000 (12:55 +0100)
committerRob Browning <rlb@defaultvalue.org>
Mon, 4 Nov 2013 15:09:20 +0000 (09:09 -0600)
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
[rlb@defaultvalue.org: adjust commit message.]
Reviewed-by: Rob Browning <rlb@defaultvalue.org>
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