From: Fabian Godehardt Date: Thu, 13 Sep 2012 12:16:18 +0000 (+0200) Subject: build.sh: do not attempt to copy nonexisting files X-Git-Tag: e2factory-2.3.13rc1~84 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=6baece4591a51b50dae0910233b235f0af7902bd;p=e2factory.git build.sh: do not attempt to copy nonexisting files Signed-off-by: Fabian Godehardt --- diff --git a/local/make/build.sh b/local/make/build.sh index 4045a73..5d16064 100644 --- a/local/make/build.sh +++ b/local/make/build.sh @@ -59,7 +59,9 @@ for d in $DEPEND ; do done # install result stuff mkdir -p $chroot_path/tmp/e2/{script,init,env,dep,build,out,root} -cp -v proj/init/* $chroot_path/tmp/e2/init +if [ ! proj/init/* = 'proj/init/*' ]; then + cp -v proj/init/* $chroot_path/tmp/e2/init +fi cp -v res/$RESULT/{build-driver,buildrc,build-script} \ $chroot_path/tmp/e2/script/ cp -v res/$RESULT/{builtin,env} $chroot_path/tmp/e2/env/