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
This commit is contained in:
Ben Gras 2014-08-31 16:21:05 +02:00 committed by David van Moolenbroek
parent 502b6bda83
commit 55f2063ed0

View file

@ -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"