summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2002-04-23 02:06:10 (GMT)
committerSteven Knight <knight@baldmt.com>2002-04-23 02:06:10 (GMT)
commitfd18e34d0635b7f346995a0d54f9dce62997ed49 (patch)
tree86944d723ad30bc100e06a3d1654baa24e45005e /SConstruct
parent359e8303a9423cb0ed8ee250042941866eaa64c8 (diff)
downloadSCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.zip
SCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.tar.gz
SCons-fd18e34d0635b7f346995a0d54f9dce62997ed49.tar.bz2
Build patches for IRIX. (Chad Austin)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct9
1 files changed, 7 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index dd88045..e41bf1e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -169,6 +169,9 @@ else:
python_project_subinst_dir = lib_project
project_script_subinst_dir = 'bin'
+
+zcat = 'gzip -d -c'
+
#
# Figure out if we can handle .zip files.
#
@@ -257,6 +260,8 @@ env = Environment(
UNZIP = unzip,
UNZIPFLAGS = '-o -d $UNPACK_ZIP_DIR',
+ ZCAT = zcat,
+
TEST_DEB_DIR = test_deb_dir,
TEST_RPM_DIR = test_rpm_dir,
TEST_SRC_TAR_GZ_DIR = test_src_tar_gz_dir,
@@ -552,7 +557,7 @@ for p in [ scons ]:
src_files)
env.Command(unpack_tar_gz_files, tar_gz, [
"rm -rf %s" % os.path.join(unpack_tar_gz_dir, pkg_version),
- "zcat $SOURCES > .temp",
+ "$ZCAT $SOURCES > .temp",
"tar xf .temp -C $UNPACK_TAR_GZ_DIR",
"rm -f .temp",
])
@@ -785,7 +790,7 @@ if change:
# with separate zcat-tar-rm commands.
env.Command(unpack_tar_gz_files, src_tar_gz, [
"rm -rf %s" % os.path.join(unpack_tar_gz_dir, psv),
- "zcat $SOURCES > .temp",
+ "$ZCAT $SOURCES > .temp",
"tar xf .temp -C $UNPACK_TAR_GZ_DIR",
"rm -f .temp",
])