mirror of
https://github.com/gnustep/tools-make.git
synced 2025-04-23 22:33:28 +00:00
Re-add IFS setting and search in current dir (Fixes Bug #15289).
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@22227 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
6cc69963c5
commit
d6a613f14d
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-12-30 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* openapp.in: Re-add IFS setting and search in current dir
|
||||
(Fixes Bug #15289).
|
||||
|
||||
2005-12-21 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version 1.11.2
|
||||
|
|
|
@ -89,6 +89,8 @@ case "$app" in
|
|||
*) app_list="$app.app:$app.debug:$app.profile"; appname="$app";
|
||||
esac
|
||||
|
||||
old_IFS="$IFS"
|
||||
IFS=:
|
||||
case "$app" in
|
||||
/*) # An absolute path.
|
||||
for appdir in $app_list; do
|
||||
|
@ -107,7 +109,7 @@ case "$app" in
|
|||
fi
|
||||
done;;
|
||||
*) # A path that should be searched into the GNUstep paths
|
||||
for dir in "$GNUSTEP_USER_ROOT" "$GNUSTEP_LOCAL_ROOT" "$GNUSTEP_NETWORK_ROOT" "$GNUSTEP_SYSTEM_ROOT"; do
|
||||
for dir in "." "$GNUSTEP_USER_ROOT" "$GNUSTEP_LOCAL_ROOT" "$GNUSTEP_NETWORK_ROOT" "$GNUSTEP_SYSTEM_ROOT"; do
|
||||
for appdir in $app_list; do
|
||||
# First, search in $dir/Applications/any_path_here/$appdir
|
||||
#echo "$dir/Applications/"'*'"/$appdir"
|
||||
|
@ -137,6 +139,7 @@ case "$app" in
|
|||
done
|
||||
done;;
|
||||
esac
|
||||
IFS="$old_IFS"
|
||||
unset app_list
|
||||
unset appdir
|
||||
|
||||
|
|
Loading…
Reference in a new issue