mirror of
https://codeberg.org/landley/toybox.git
synced 2026-01-26 14:13:25 +00:00
Ahem: work when PREFIX hasn't got trailing / OR when PREFIX is blank.
This commit is contained in:
parent
54a2d045a1
commit
1f14e20a24
@ -41,6 +41,7 @@ do
|
||||
echo "# CONFIG_TOYBOX is not set" >> "$KCONFIG_CONFIG" &&
|
||||
grep "CONFIG_TOYBOX_" .config >> "$KCONFIG_CONFIG" &&
|
||||
|
||||
rm -f "$PREFIX/$i" &&
|
||||
OUTNAME="$PREFIX/$i" scripts/make.sh || exit 1
|
||||
export OUTNAME="${PREFIX:+/$PREFIX}$i"
|
||||
rm -f "$OUTNAME" &&
|
||||
scripts/make.sh || exit 1
|
||||
done
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user