From: Ben Gras Date: Fri, 3 Nov 2006 14:47:28 +0000 (+0000) Subject: set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package X-Git-Tag: v3.1.3~148 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/style.css?a=commitdiff_plain;h=07c4c0018186fc6d25c28c7ca92d70374717d93a;p=minix.git set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package --- diff --git a/commands/scripts/binpackage.sh b/commands/scripts/binpackage.sh index 064b06abc..e012f00b4 100644 --- a/commands/scripts/binpackage.sh +++ b/commands/scripts/binpackage.sh @@ -1,5 +1,6 @@ #!/bin/sh +PATH=/bin:/sbin:/usr/bin:/usr/sbin PI=.postinstall INFO=.minixpackage @@ -59,7 +60,7 @@ fi echo " * Building package" echo "Minix package $dir built `date`." >$INFO -( echo $INFO ; if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run)|/etc/utmp|/var/run)" ) | pax -w -d | bzip2 >$tarbz +( echo $INFO ; if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(tmp|log|adm|run)|/etc/utmp|/var/(run|log))" ) | pax -w -d | bzip2 >$tarbz rm -f $packagestart $findlist $tarcmd binsizes normal mv $tarbz $pdir