From: Ben Gras Date: Sun, 31 Aug 2014 14:21:05 +0000 (+0200) Subject: release.sh changes & fixes X-Git-Tag: v3.3.0~31 X-Git-Url: http://zhaoyanbai.com/repos/%7B%24global.css%7D?a=commitdiff_plain;h=55f2063ed01a622c88f015b254083825c15157ab;p=minix.git release.sh changes & fixes . source release.functions with explicit path . make xargs touch not fail (due to too long invocations and spaces in paths) Change-Id: I448b96cebd641bf2c7b86ecbb3d1f1cb568e4f70 --- diff --git a/releasetools/release.sh b/releasetools/release.sh index af8347e5d..22ca4606a 100755 --- a/releasetools/release.sh +++ b/releasetools/release.sh @@ -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"