From 5eae30d2a5c024eaa6e0ab5c60ac7cdf11e71ab5 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 30 May 2022 12:33:51 -0500 Subject: [PATCH] Fix $PREFIX=/path/that/does/not/exist builds. --- scripts/make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/make.sh b/scripts/make.sh index 1d17c5c8..e0751a06 100755 --- a/scripts/make.sh +++ b/scripts/make.sh @@ -58,7 +58,7 @@ unset A B DOTPROG DIDNEWER # Force full rebuild if our compiler/linker options changed cmp -s <(compflags|sed '5,8!d') <($SED '5,8!d' "$GENDIR"/build.sh 2>/dev/null)|| rm -rf "$GENDIR"/* # Keep symlink, delete contents -mkdir -p "$UNSTRIPPED" || exit 1 +mkdir -p "$UNSTRIPPED" "$(dirname $OUTNAME)" || exit 1 # Extract a list of toys/*/*.c files to compile from the data in $KCONFIG_CONFIG # (First command names, then filenames with relevant {NEW,OLD}TOY() macro.) -- 2.39.2