aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-09-07 02:58:35 -0500
committerRob Landley <rob@landley.net>2019-09-07 02:58:35 -0500
commit20aa264072f21d6633a3277e87fe37b15495b314 (patch)
treec3f83ddec18fc65139917e0c0d8e392920a1cce5
parent7a58225c170e9a416fec9986e90d554dfb57f7cb (diff)
downloadtoybox-20aa264072f21d6633a3277e87fe37b15495b314.tar.gz
Don't have cross.sh bother with "output" directory, make root uses different
subdir name now anyway, and making toybox isn't in a subdir.
-rwxr-xr-xscripts/cross.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/cross.sh b/scripts/cross.sh
index 2e0f795e..34fef0f7 100755
--- a/scripts/cross.sh
+++ b/scripts/cross.sh
@@ -32,11 +32,10 @@ if [ "$X" == all ]
then
for TARGET in $(list)
do
- mkdir -p output/$TARGET
{
export TARGET
- "$0" $TARGET "$@" 2>&1 || mv output/$TARGET{,.failed}
- } | tee output/$TARGET/log.txt
+ "$0" $TARGET "$@" 2>&1 || mv cross-log-$TARGET.{txt,failed}
+ } | tee cross-log-$TARGET.txt
done
exit