mirror of
https://github.com/gnustep/tools-make.git
synced 2025-05-30 08:50:54 +00:00
Only mess IFS in the little part of code which needs to do it
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13350 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ad0d86ce12
commit
e1021eecdf
1 changed files with 6 additions and 7 deletions
|
@ -35,10 +35,6 @@ if [ -z "$host_os" ]; then
|
||||||
host_os=$1
|
host_os=$1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
old_IFS="$IFS"
|
|
||||||
IFS="
|
|
||||||
"
|
|
||||||
|
|
||||||
if [ -z "$GNUSTEP_FLATTENED" ]; then
|
if [ -z "$GNUSTEP_FLATTENED" ]; then
|
||||||
last_path_part=Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO
|
last_path_part=Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO
|
||||||
tool_path_part=Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS
|
tool_path_part=Libraries/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS
|
||||||
|
@ -50,6 +46,9 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$additional_library_paths" ]; then
|
if [ -n "$additional_library_paths" ]; then
|
||||||
|
old_IFS="$IFS"
|
||||||
|
IFS="
|
||||||
|
"
|
||||||
additional=""
|
additional=""
|
||||||
for dir in $additional_library_paths; do
|
for dir in $additional_library_paths; do
|
||||||
additional="${additional}${dir}:"
|
additional="${additional}${dir}:"
|
||||||
|
@ -57,7 +56,10 @@ if [ -n "$additional_library_paths" ]; then
|
||||||
unset dir
|
unset dir
|
||||||
|
|
||||||
lib_paths="${additional}${lib_paths}"
|
lib_paths="${additional}${lib_paths}"
|
||||||
|
|
||||||
unset additional
|
unset additional
|
||||||
|
IFS="$old_IFS"
|
||||||
|
unset old_IFS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$host_os" in
|
case "$host_os" in
|
||||||
|
@ -120,6 +122,3 @@ else
|
||||||
fi
|
fi
|
||||||
export GUILE_LOAD_PATH
|
export GUILE_LOAD_PATH
|
||||||
unset guile_paths
|
unset guile_paths
|
||||||
|
|
||||||
IFS="$old_IFS"
|
|
||||||
unset old_IFS
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue