summaryrefslogtreecommitdiff
path: root/src/repo-diff
diff options
context:
space:
mode:
Diffstat (limited to 'src/repo-diff')
-rwxr-xr-xsrc/repo-diff3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repo-diff b/src/repo-diff
index c875dce..10b617c 100755
--- a/src/repo-diff
+++ b/src/repo-diff
@@ -2,6 +2,7 @@
# Shows a diff between repo databases
# Copyright (C) 2013 Nicolás Reynolds <fauno@parabola.nu>
+# Copyright (C) 2017 Luke Shumaker <lukeshu@sbcglobal.net>
#
# License: GNU GPLv3+
#
@@ -34,7 +35,7 @@ if test $# -eq 0; then
exit 0
fi
-b() { bsdtar ztf $1 | cut -d "/" -f1 | sort -u ; }
+b() { bsdtar ztf "$1" | cut -d "/" -f1 | sort -u ; }
n() { echo "$1".db | tr "/" "-"; }
# hopefully simple way to convert