From 2b95a9de0ec132244ff60f15a29d10d47cd76071 Mon Sep 17 00:00:00 2001 From: Ivan Davidov Date: Thu, 7 Dec 2017 01:36:04 +0200 Subject: [PATCH] Minor enhancement. --- src/minimal_overlay/bundles/coreutils/02_build.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/minimal_overlay/bundles/coreutils/02_build.sh b/src/minimal_overlay/bundles/coreutils/02_build.sh index 49d610be3..47376d228 100755 --- a/src/minimal_overlay/bundles/coreutils/02_build.sh +++ b/src/minimal_overlay/bundles/coreutils/02_build.sh @@ -4,10 +4,8 @@ set -e . ../../common.sh -cd $OVERLAY_WORK_DIR/$BUNDLE_NAME - # Change to the coreutils source directory which ls finds, e.g. 'coreutils-8.28'. -cd $(ls -d coreutils-*) +cd `ls -d $OVERLAY_WORK_DIR/$BUNDLE_NAME/coreutils-*` make_clean