From 5fa6858d92e497310d3d99f94f44fbc0103dcbbb Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 2 Jun 2009 01:58:00 +0000 Subject: [PATCH] Work around ancient versions of intltool... Originally committed to SVN as r3004. --- aegisub/tinderbox/unix/dist.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/aegisub/tinderbox/unix/dist.sh b/aegisub/tinderbox/unix/dist.sh index 188bacbe7..b5a71b1ad 100755 --- a/aegisub/tinderbox/unix/dist.sh +++ b/aegisub/tinderbox/unix/dist.sh @@ -1,5 +1,6 @@ #!/bin/sh DIST_NAME="aegisub-snap-r${1}" +UNAME_S=`uname -s` if test -z "${1}"; then echo "You must supply a revision number!" @@ -7,7 +8,7 @@ if test -z "${1}"; then fi # On FreeBSD "make" is PMake, so we need to use 'gmake' -if test `uname -s` = "FreeBSD"; then +if test "${UNAME_S}" = "FreeBSD"; then BIN_MAKE="gmake" CONFIGURE_ARGS="--with-wx-config=/usr/local/bin/wxgtk2u-2.8-config" else @@ -16,6 +17,9 @@ fi ./autogen.sh ${CONFIGURE_ARGS} || exit $? +# XXX: Work around ancient versions of intltool (cough DEBIAN) +touch intltool-update.in intltool-merge.in intltool-extract.in + ${BIN_MAKE} distdir distdir="${DIST_NAME}" || exit $? # Put the name of the buildslave into ./slave_info as it may be useful for