]> Zhao Yanbai Git Server - minix.git/commitdiff
ignore .svn dirs when making binary packages
authorBen Gras <ben@minix3.org>
Wed, 27 Jan 2010 16:20:28 +0000 (16:20 +0000)
committerBen Gras <ben@minix3.org>
Wed, 27 Jan 2010 16:20:28 +0000 (16:20 +0000)
commands/scripts/binpackage.sh

index 2ad2e1867360394d8bc44a2cdf2ed503679f96a7..4c92e049b7f9e041c8647d98867cab143d825e93 100644 (file)
@@ -60,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/(src|tmp|log|adm|run)|/home|/etc/utmp|/var/(run|log|spool))" ) | pax -w -d | bzip2 >$tarbz
+( echo $INFO ; if [ -f $PI ]; then echo $PI; fi; find / -cnewer $packagestart | egrep -v "^($srcdir|/(dev|tmp)|/usr/(src|tmp|log|adm|run)|/home|/etc/utmp|/var/(run|log|spool))" | fgrep -v /.svn ) | pax -w -d | bzip2 >$tarbz
 rm -f $packagestart $findlist $tarcmd
 binsizes normal
 mv $tarbz $pdir