]> git.phdru.name Git - git-scripts.git/blobdiff - fix-config
Feat(submodules/remove): Add option `-c`
[git-scripts.git] / fix-config
index 9aa748a15f0c2478eaec1dcb816dc590a206eb92..f7d4cdaf35c7171eac083217217ea6ee22bbcc77 100755 (executable)
@@ -1,2 +1,4 @@
 #! /bin/sh
-exec "`dirname \"$0\"`"/do-all 'chmod a-x $g/config'
+
+g="`git rev-parse --git-dir`" &&
+exec chmod a-x "$g"/config