Summary Files CommitsBranches @commit@diff
path: root/.a/toggle-repo.sh
diff options
context:
space:
mode:
Commit0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8 (patch )
AuthorSyndamia <kamen@syndamia.com>2023-03-30 19:45:16 +0300
CommitterSyndamia <kamen@syndamia.com>2023-03-30 19:45:16 +0300
Filesd420d5a3c5c0bcab22f4597e4fcfcbcb8b054370 /.a/toggle-repo.sh
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.tar.gz
dotfiles-0a01d8c761d5027bf6fe8ee812e70e3d8636c8b8.zip
Parent40f71bb1f0301fcecb13e935029f99fc912f3002 (diff)
[.a] Replaced double brackets with test
1 files changed, 1 insertions, 1 deletions
-rwxr-xr-x.a/toggle-repo.sh2
diff --git a/.a/toggle-repo.sh b/.a/toggle-repo.sh
index ffbcb57..638bde8 100755
--- a/.a/toggle-repo.sh
+++ b/.a/toggle-repo.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-if [[ -d ".git" ]]; then
+if [ -d ".git" ]; then
sudo mv .git .git.disabled
else
sudo mv .git.disabled .git