[SCM] Quake 3 engine branch, master, updated. 407b8079a76b978d094fc2972572969bc273f905
Simon McVittie
smcv at debian.org
Fri Oct 15 20:17:54 UTC 2010
The following commit has been merged in the master branch:
commit 661f30852393650954a896387f9369511dd84f51
Author: Simon McVittie <smcv at debian.org>
Date: Fri Oct 15 18:48:49 2010 +0100
q3arch.sh: output the result on stderr, for buildd logs
diff --git a/debian/q3arch.sh b/debian/q3arch.sh
index d864bad..c946361 100644
--- a/debian/q3arch.sh
+++ b/debian/q3arch.sh
@@ -33,31 +33,35 @@ arch)
case ${DEB_X_GNU_CPU} in
i?86)
- echo i386
+ Q3ARCH=i386
;;
powerpc)
- echo ppc
+ Q3ARCH=ppc
;;
powerpc64)
- echo ppc64
+ Q3ARCH=ppc64
;;
mipsel)
- echo mips
+ Q3ARCH=mips
;;
x86_64|s390|s390x|ia64|alpha|sparc|hppa|mips|arm)
- echo ${DEB_X_GNU_CPU}
+ Q3ARCH=${DEB_X_GNU_CPU}
;;
*)
echo "CPU ${DEB_X_GNU_CPU} not supported by Quake 3, might not work" >&2
- echo ${DEB_X_GNU_CPU}
+ Q3ARCH=${DEB_X_GNU_CPU}
;;
esac
+
+ echo "DEB_$2_GNU_CPU = ${DEB_X_GNU_CPU}, using Q3 architecture ${Q3ARCH}">&2
+ echo ${Q3ARCH}
+
;;
platform)
@@ -84,14 +88,18 @@ platform)
case ${DEB_X_GNU_SYSTEM} in
linux-gnu|linux-gnueabi)
- echo linux
+ Q3OS=linux
;;
*)
- echo ${DEB_X_GNU_SYSTEM}
+ Q3OS=${DEB_X_GNU_SYSTEM}
;;
esac
+
+ echo "DEB_$2_GNU_SYSTEM = ${DEB_X_GNU_SYSTEM}, using Q3 platform ${Q3OS}">&2
+ echo ${Q3OS}
+
;;
*)
--
Quake 3 engine
More information about the Pkg-games-commits
mailing list