Bugzilla – Attachment 2151 Details for
Bug 2007
The literal string ${prefix}/bin appears in the user PATH under some circumstances
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Recursively expand ${bindir}
prefix-bin.diff (text/plain), 1.04 KB, created by
Nix
on 2012-05-13 04:20:56 AEST
(
hide
)
Description:
Recursively expand ${bindir}
Filename:
MIME Type:
Creator:
Nix
Created:
2012-05-13 04:20:56 AEST
Size:
1.04 KB
patch
obsolete
>Index: 6.0p1/configure.ac >=================================================================== >--- 6.0p1.orig/configure.ac 2012-05-12 18:54:51.626658783 +0100 >+++ 6.0p1/configure.ac 2012-05-12 19:17:10.142860228 +0100 >@@ -3942,13 +3942,16 @@ > [ user_path="/usr/bin:/bin:/usr/sbin:/sbin" ] > ) > # make sure $bindir is in USER_PATH so scp will work >- t_bindir=`eval echo ${bindir}` >- case $t_bindir in >- NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; >- esac >- case $t_bindir in >- NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; >- esac >+ t_bindir="${bindir}" >+ while echo "${t_bindir}" | egrep '\$\{|NONE/' >/dev/null 2>&1; do >+ t_bindir=`eval echo ${t_bindir}` >+ case $t_bindir in >+ NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$prefix~"` ;; >+ esac >+ case $t_bindir in >+ NONE/*) t_bindir=`echo $t_bindir | sed "s~NONE~$ac_default_prefix~"` ;; >+ esac >+ done > echo $user_path | grep ":$t_bindir" > /dev/null 2>&1 > if test $? -ne 0 ; then > echo $user_path | grep "^$t_bindir" > /dev/null 2>&1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
dtucker
:
ok+
Actions:
View
|
Diff
Attachments on
bug 2007
: 2151