From 07c4c0018186fc6d25c28c7ca92d70374717d93a Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Fri, 3 Nov 2006 14:47:28 +0000 Subject: [PATCH] set $PATH so /usr/local/egrep isn't used; also exclude /var/log from package --- commands/scripts/binpackage.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.44.0