]> Zhao Yanbai Git Server - minix.git/commitdiff
release.sh changes & fixes 00/2800/2
authorBen Gras <ben@minix3.org>
Sun, 31 Aug 2014 14:21:05 +0000 (16:21 +0200)
committerDavid van Moolenbroek <david@minix3.org>
Sun, 31 Aug 2014 17:29:21 +0000 (17:29 +0000)
. source release.functions with explicit path
. make xargs touch not fail (due to too long invocations
  and spaces in paths)

Change-Id: I448b96cebd641bf2c7b86ecbb3d1f1cb568e4f70

releasetools/release.sh

index af8347e5d2fc081915d8bce5314f9e7118d08bc8..22ca4606a02a244b3b3153b046a4dc047d794bf4 100755 (executable)
@@ -2,7 +2,7 @@
 
 set -e
 
-. release.functions
+. ./release.functions
 
 version_pretty="`sh ../sys/conf/osrelease.sh`"
 version="`echo $version_pretty | tr . _`"
@@ -212,7 +212,7 @@ then        echo $PKG_ADD_URL >$RELEASEDIR/usr/pkg/etc/pkgin/repositories.conf
 fi
 
 echo " * Resetting timestamps"
-find $RELEASEDIR | xargs touch
+find $RELEASEDIR -print0 | xargs -n1000 -0 touch 
 
 ##########################################################################
 echo " * Build"