aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:29:38 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-07-01 10:29:38 +1200
commit7367d747cf8fd8fdad3ccf430faddb42487ecbbf (patch)
tree43950181c0bf014d56bd4231ba5ef2bdaa3f4fd0 /bin
parentMake gscr(1) default to current dir (diff)
downloaddotfiles-7367d747cf8fd8fdad3ccf430faddb42487ecbbf.tar.gz
dotfiles-7367d747cf8fd8fdad3ccf430faddb42487ecbbf.zip
Correct glob for finding repos
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fgscr2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/fgscr b/bin/fgscr
index 2a50cc20..b7b94dea 100755
--- a/bin/fgscr
+++ b/bin/fgscr
@@ -1,4 +1,4 @@
#!/bin/sh
# Find all the Git repositories in a directory and scrub them all
hash gscr || exit
-find "${@:-.}" -name '.git' -exec gscr {} +
+find "${@:-.}" -name '*.git' -exec gscr {} +