summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-01-14 22:34:47 +0100
committerJustin Davis <jrcd83@gmail.com>2012-01-14 22:34:47 +0100
commit04ee290c667a280fc2025c4e583730193b320e0b (patch)
tree04994a8182cbc00426c11566db58dafcf783e879 /setup
parentee0af86a043fcff0c6151b3dd88244e41b41a494 (diff)
downloadgenpkg-04ee290c667a280fc2025c4e583730193b320e0b.tar.gz
genpkg-04ee290c667a280fc2025c4e583730193b320e0b.tar.xz
Use case statement for pattern matching.
Diffstat (limited to 'setup')
-rwxr-xr-xsetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup b/setup
index 2cb9735..5b664ac 100755
--- a/setup
+++ b/setup
@@ -59,7 +59,7 @@ genpkg) md ~/bin
tweaks) md ~/pkg/tweaks/
for t in tweaks/*
do
- echo "$t" | grep -q '~$' && continue
+ case $t in *~) continue ;; esac
echo ~/pkg/"$t"
cp "$t" ~/pkg/"$t"
done