From 6baece4591a51b50dae0910233b235f0af7902bd Mon Sep 17 00:00:00 2001 From: Fabian Godehardt Date: Thu, 13 Sep 2012 14:16:18 +0200 Subject: [PATCH] build.sh: do not attempt to copy nonexisting files Signed-off-by: Fabian Godehardt --- local/make/build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/ -- 2.39.5