aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-11-18 21:14:57 -0600
committerRob Landley <rob@landley.net>2019-11-18 21:14:57 -0600
commit54a2d045a1be4aa3412a7719890df0574ad02f50 (patch)
treeb457e715dd91113f21a5963ebd7b4d82c92106e3 /scripts
parent99f2ac4e5dc829174564dca2a819f2270c0d6858 (diff)
downloadtoybox-54a2d045a1be4aa3412a7719890df0574ad02f50.tar.gz
Work when PREFIX hasn't got trailing /
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/single.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/single.sh b/scripts/single.sh
index 55e4c676..c8a04836 100755
--- a/scripts/single.sh
+++ b/scripts/single.sh
@@ -41,6 +41,6 @@ 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
+ rm -f "$PREFIX/$i" &&
+ OUTNAME="$PREFIX/$i" scripts/make.sh || exit 1
done