mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Fix for #23618
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@26676 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2595a435cd
commit
5123ebd625
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2008-06-17 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* gnustep-config.in: Fixup assignment to gs_variable_value with
|
||||
code which works with more shells (bug #23618).
|
||||
Solution suggested by Hubert Chathi.
|
||||
|
||||
2008-06-14 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 2.0.6
|
||||
|
|
|
@ -168,7 +168,7 @@ unset GNUSTEP_SH_EXPORT_ALL_VARIABLES
|
|||
# Now print whatever variable they asked for
|
||||
#
|
||||
gs_variable_name=`echo "$1" | sed -e 's/--variable=//'`
|
||||
gs_variable_value=$(eval echo "\$$gs_variable_name")
|
||||
gs_variable_value=`eval echo '$'"$gs_variable_name"`
|
||||
|
||||
if [ "$gs_variable_value" != "" ]; then
|
||||
echo "$gs_variable_value"
|
||||
|
|
Loading…
Reference in a new issue