* Adam Lackorzynski <[EMAIL PROTECTED]> [2005-09-12 11:28]: > the bins script file contains paths from the build process making it > unusable because it cannot find its styles etc and therefore does not work: > > ~# grep tbm /usr/bin/bins > my $localePath = > "/home/tbm/tmp/src/b/new/bins-1.1.29/debian/bins/usr/share/locale"; # Base > locale path (for I18N) > globalDataDir => > "/home/tbm/tmp/src/b/new/bins-1.1.29/debian/bins/usr/share/bins", # System > wide data directory > > It looks like this is a design issue in install.sh which always > prepends DESTDIR instead of only doing so when operating on files and > not when replacing paths in the binaries.
Jérôme, can you please apply this patch. --- install.sh~ 2005-09-12 17:34:57.000000000 +0100 +++ install.sh 2005-09-12 17:35:27.000000000 +0100 @@ -24,8 +24,9 @@ GLOBAL_RC="$RC" DESTDIR=`echo "$DESTDIR"|sed 's%/$%%'` -PREFIX=$DESTDIR/`echo "$PREFIX"|sed 's%^/%%'` PREFIX=`echo "$PREFIX"|sed 's%/$%%'` +GLOBAL_SHARE="$PREFIX/share" +PREFIX=$DESTDIR/`echo "$PREFIX"|sed 's%^/%%'` ETC=$DESTDIR/`echo "$ETC"|sed 's%^/%%'` ETC=`echo "$ETC"|sed 's%/$%%'` RC=$DESTDIR/`echo "$RC"|sed 's%^/%%'` @@ -227,7 +228,7 @@ do echo -n " $FILE" ed "$FILE" <<EoF 2>/dev/null -1,\$s%/usr/local/share%$SHARE%g +1,\$s%/usr/local/share%$GLOBAL_SHARE%g 1,\$s%/etc/bins%$GLOBAL_RC%g wq EoF -- Martin Michlmayr http://www.cyrius.com/