From e588a47ba6349a1e0fc9148ab390115625a3bdad Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 17 Nov 2011 18:29:32 -0500 Subject: [PATCH] gnomeos: Have commit-yocto-build make more assumptions This is so it's easier to use. --- gnomeos/yocto/commit-yocto-build.sh | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/gnomeos/yocto/commit-yocto-build.sh b/gnomeos/yocto/commit-yocto-build.sh index 78d2343b..c53b330e 100755 --- a/gnomeos/yocto/commit-yocto-build.sh +++ b/gnomeos/yocto/commit-yocto-build.sh @@ -4,6 +4,8 @@ set -e set -x +WORKDIR=`pwd` + if test $(id -u) = 0; then cat <