From d958a33c1f0e11b770481a9188cbf75cc3bfd0a5 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Thu, 20 Apr 2017 21:50:58 -0400 Subject: Quote unquoted strings that should probably be quoted. These were found with the help of shellcheck. Nothing more complicated than wrapping a variable in double quotes has been done. --- src/repo-diff | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/repo-diff') 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 +# Copyright (C) 2017 Luke Shumaker # # 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 -- cgit v1.2.3-54-g00ecf