Hello Martin,

This patch is included in bins (1.1.29-2) but the bug is still open and
it is an RC bug.

Did you forget to close it in debian/changelog or I am missing
something?

Bye,

Le Monday 12 September 2005 à 17:37:36, Martin Michlmayr a écrit:
> * 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

-- 
 Dr. Ludovic Rousseau                        [EMAIL PROTECTED]
 -- Normaliser Unix c'est comme pasteuriser le camembert, L.R. --

Reply via email to