Permalink
Browse files

fix packages like url_escape that say their target_prefix is /ext

  • Loading branch information...
1 parent d3bae1d commit b28e4bcd3b8cbc2b8dba2f03443739d036195cc1 @rtomayko committed Jun 22, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 rpg-package-install.sh
View
@@ -147,6 +147,7 @@ manifest="$packagedir/$version/manifest"
while read dl
do
prefix=$(sed -n 's/^target_prefix *= *//p' "$(dirname $dl)/Makefile")
+ test "$prefix" = "/ext" && prefix=""
dest="${RPGLIB}/${RUBYARCH}${prefix}/$(basename $dl)"
mkdir -p "${RPGLIB}/${RUBYARCH}${prefix}"
installfile "$dl" "$dest"

0 comments on commit b28e4bc

Please sign in to comment.