OSNAME purging
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1780 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -12,7 +12,7 @@ uqm_requirements()
|
||||
have_program gcc || exit 1
|
||||
COMPILE="$PROG_gcc_FILE"
|
||||
|
||||
case "$OSNAME" in
|
||||
case "$HOST_SYSTEM" in
|
||||
MINGW32*)
|
||||
have_program windres
|
||||
WINDRES="$PROG_windres_FILE"
|
||||
@@ -283,7 +283,7 @@ uqm_post_build() {
|
||||
# run from inside an application package, this step is useless
|
||||
# (the cp command in the install step implicitly strips off
|
||||
# the resource fork, in fact)
|
||||
case "$OSNAME" in
|
||||
case "$HOST_SYSTEM" in
|
||||
Darwin)
|
||||
${REZ} ${RFORK} -o ${TARGET_FILE}
|
||||
;;
|
||||
|
||||
@@ -56,9 +56,6 @@ done
|
||||
TOPDIR="$PWD"
|
||||
export TOPDIR
|
||||
|
||||
OSNAME=`uname -s`
|
||||
export OSNAME
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
usage 1>&2
|
||||
exit 1;
|
||||
|
||||
@@ -708,7 +708,7 @@ set_host_system() {
|
||||
case "$BUILD_HOST" in
|
||||
*-*-*)
|
||||
HOST_SYSTEM="${BUILD_HOST#*-}"
|
||||
HOST_SYSTEM="${OSNAME%-*}"
|
||||
HOST_SYSTEM="${HOST_SYSTEM%-*}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user