]> Zhao Yanbai Git Server - minix.git/commitdiff
Read .binpackage rc in package sources for configuration.
authorBen Gras <ben@minix3.org>
Tue, 28 Mar 2006 11:28:43 +0000 (11:28 +0000)
committerBen Gras <ben@minix3.org>
Tue, 28 Mar 2006 11:28:43 +0000 (11:28 +0000)
commands/scripts/binpackage.sh

index f3e6abce855c410f39d43d9d71f437d9db4c7b85..6993d449849dab444aa157fc31334f14825c17e8 100644 (file)
@@ -36,7 +36,12 @@ tar=$srcdir/"`basename ${dir}`".tar
 tarbz=$tar.bz2
 
 mkdir $pdir 2>/dev/null || true
-binsizes big
+binsizes=big
+rc=$dir/.binpackage
+if [ -f $rc ]
+then    . $rc
+fi
+binsizes $binsizes
 touch $packagestart
 sleep 1
 cd $dir