]> git.phdru.name Git - git-scripts.git/blobdiff - submodules/unabsorbgitdirs
Style(unabsorbgitdirs): Use `[]` instead of `test`
[git-scripts.git] / submodules / unabsorbgitdirs
index 2416477c05c4b7716b53ae34fc3ec715d0211b6e..862504063eefa61b7ae0c5ac9b95af7415bf271c 100755 (executable)
@@ -7,9 +7,9 @@ cd "`git rev-parse --show-toplevel`"
 unset GIT_DIR
 
 # If .git/ subdirectory is already here
-test -d .git && exit 0
+[ -d .git ] && exit 0
 
-if ! test -f .git; then
+if ! [ -f .git ]; then
     echo "Error: Cannot find gitlink, aborting" >&2
     exit 1
 fi