Fixed adding EXEEXT at the end of the application name

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@13244 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-03-26 17:36:57 +00:00
parent 8e08ef8843
commit fe5f087099

View file

@ -77,10 +77,6 @@ fi
# Remove leading slashes at the end of the application name
app=`echo $app | sed 's%/*$%%'`
if [ -n "$EXEEXT" ]; then
app=$app$EXEEXT
fi
case $app in
/*) # An absolute path.
full_appname=$app;;
@ -159,6 +155,7 @@ fi
appname=`echo $app | sed 's/\.[a-z]*$//'`
appname=`basename $appname`
appname="$appname$EXEEXT"
. $GNUSTEP_SYSTEM_ROOT/Makefiles/ld_lib_path.sh
@ -184,9 +181,9 @@ else
fi
if [ -z "$GNUSTEP_FLATTENED" ]; then
file_appname=$full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname
file_appname="$full_appname/$GNUSTEP_HOST_CPU/$GNUSTEP_HOST_OS/$LIBRARY_COMBO/$appname"
else
file_appname=$full_appname/$appname
file_appname="$full_appname/$appname"
fi
#Support for GDBbundle under OPENSTEP