--- a/build-g11n-spec.sh Fri Apr 01 16:48:49 2011 +0200
+++ b/build-g11n-spec.sh Wed Apr 06 16:04:21 2011 +0200
@@ -81,7 +81,7 @@
PKGTOOL="/opt/pkgbuild/bin/pkgtool"
#no support for IPS in Solaris 10
-if $(test `uname -r` != 5.10 && echo 1); then
+if $(test `uname -r` != 5.10); then
# IPS repos are created in $PKGDEST if defined in environment,
# otherwise in $BLDDIR (build.$MACH).
IPS_REPODIR="${PKGDEST:-$BLDDIR}/repo.spec"
@@ -132,7 +132,7 @@
#no support for IPS in Solaris 10 and some advanced pkgtool features
#not present on CBE 1.7
- if $(test `uname -r` != 5.10 && echo 1); then
+ if $(test `uname -r` != 5.10); then
PKGUNINSTALLARGS="uninstall-pkgs --nonotify --specdirs=$SPECDIRS"
PKGBUILDARGS="$CMD --nonotify --download --topdir=$BLDDIR --specdirs=$SPECDIRS "
PKGBUILDARGS="$PKGBUILDARGS --pkgformat=ips"