From 51b59ed960dddc66fb8eb9ac261415c4250dfd40 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Thu, 14 Nov 2019 09:44:52 +1300 Subject: [PATCH] fix bashism --- live-build/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/functions b/live-build/functions index 2fdcbe95..977af4cd 100644 --- a/live-build/functions +++ b/live-build/functions @@ -53,7 +53,7 @@ create_manifest() { echo "create_manifest call to snap_seed_parse finished." if [ "$PROJECT" = ubuntu-cpc ]; then echo "create_manifest creating file listing." - local target_filelist=${2/.manifest}.filelist + local target_filelist=${2%.manifest}.filelist (cd "${chroot_root}" && find) > "${target_filelist}" fi echo "create_manifest finished"