summaryrefslogtreecommitdiff
path: root/src/repo-diff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-25 16:43:28 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-25 17:28:30 -0400
commit525bb0c472f103fa30fe83a2de7c8c7e0469d8b8 (patch)
tree8c6eda7d5dcf66f7778a321f7f344c314f67610d /src/repo-diff
parent8b9f2e30834c469cfe4529c64c355d548c8b00cf (diff)
repo-diff: fix unquoted variables
Diffstat (limited to 'src/repo-diff')
-rwxr-xr-xsrc/repo-diff2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repo-diff b/src/repo-diff
index 76e2d87..102faac 100755
--- a/src/repo-diff
+++ b/src/repo-diff
@@ -58,7 +58,7 @@ main() {
pushd "$tmpdir" >/dev/null
d=""
- for i in $1 $2; do
+ for i in "$1" "$2"; do
n=$(n "$i")
[[ -n "$n" ]] || exit $EXIT_FAILURE