diff options
author | Justin Davis <jrcd83@gmail.com> | 2012-01-14 22:34:47 +0100 |
---|---|---|
committer | Justin Davis <jrcd83@gmail.com> | 2012-01-14 22:34:47 +0100 |
commit | 04ee290c667a280fc2025c4e583730193b320e0b (patch) | |
tree | 04994a8182cbc00426c11566db58dafcf783e879 | |
parent | ee0af86a043fcff0c6151b3dd88244e41b41a494 (diff) | |
download | genpkg-04ee290c667a280fc2025c4e583730193b320e0b.tar.gz genpkg-04ee290c667a280fc2025c4e583730193b320e0b.tar.xz |
Use case statement for pattern matching.
-rwxr-xr-x | setup | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |