Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
rpg-package-install actually installs stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Mar 16, 2010
1 parent 407e3b4 commit 1066621
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rpg-package-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ test -n "$exts" && {
# ------------------

# Recursively install all library files into `RPGLIB`.
test -d lib && {
test -d "$pack"/lib && {
mkdir -p "$RPGLIB"
rpg_install_dir "$pack/lib" "$RPGLIB" "$manifest"
}
Expand All @@ -177,7 +177,7 @@ test -d lib && {
# ----------------

# Write executable scripts into `RPGBIN` and rewrite shebang lines.
test -d bin && {
test -d "$pack"/bin && {
mkdir -p "$RPGBIN"
for file in "$pack"/bin/*
do dest="$RPGBIN/$(basename $file)"
Expand All @@ -195,7 +195,7 @@ test -d bin && {

# Install any manpages included with the package into `RPGMAN`. Make
# sure files are being installed under the prescribed hierarchy.
test -d man && {
test -d "$pack"/man && {
for file in "$pack"/man/*
do if test -f "$file" &&
expr "$file" : '.*\.[0-9][0-9A-Za-z]*$' >/dev/null
Expand Down

0 comments on commit 1066621

Please sign in to comment.