diff options
-rwxr-xr-x | t/t0060-path-utils.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t0060-path-utils.sh b/t/t0060-path-utils.sh index 86000e26c1..53cf1f8dc4 100755 --- a/t/t0060-path-utils.sh +++ b/t/t0060-path-utils.sh @@ -17,7 +17,7 @@ norm_path() { # which means that the path / accounts for this many characters: rootoff=$(test-path-utils normalize_path_copy / | wc -c) # Account for the trailing LF: -if test "$rootoff" = 2; then +if test $rootoff = 2; then rootoff= # we are on Unix else rootoff=$(($rootoff-1)) |