summaryrefslogtreecommitdiffstats
path: root/setup
diff options
context:
space:
mode:
authorJustin Davis <jrcd83@gmail.com>2012-04-21 02:44:59 +0200
committerJustin Davis <jrcd83@gmail.com>2012-04-21 02:44:59 +0200
commit006e709409094a4ae6a3c24483f3a168763d85e6 (patch)
tree389394eac4ffed6408e62e6212981f7dacb7216b /setup
parent13294c6f0393c236803810b9ba92b8701f131dd9 (diff)
downloadgenpkg-006e709409094a4ae6a3c24483f3a168763d85e6.tar.gz
genpkg-006e709409094a4ae6a3c24483f3a168763d85e6.tar.xz
Fix typo in setup.
Forgot to rename a reference to $t.
Diffstat (limited to 'setup')
-rwxr-xr-xsetup9
1 files changed, 5 insertions, 4 deletions
diff --git a/setup b/setup
index 54f1115..8630ee1 100755
--- a/setup
+++ b/setup
@@ -35,7 +35,8 @@ Run "$prog genpkg" to install genpkg & friends into ~/genpkg and ~/bin.
Run "$prog mods" to install mods into ~/pkg/mods.
EOF
;;
-genpkg) md ~/bin
+genpkg)
+ md ~/bin
for pkg in $binfiles
do
ins "bin/$pkg" ~
@@ -49,12 +50,12 @@ genpkg) md ~/bin
done
md ~/.genpkg/var
;;
-mods) md ~/pkg/mods/
+mods)
+ md ~/pkg/mods/
for m in mods/*
do
- case $m in *~) continue ;; esac
+ cp "$m" ~/pkg/"$m"
echo ~/pkg/"$m"
- cp "$t" ~/pkg/"$m"
done
;;
*) echo "$prog: unrecognized argument: $1" 1>&2