summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-01 22:12:17 +0100
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-12-01 22:12:17 +0100
commite31005bad7ccdb110874906e8be116c2584020a5 (patch)
tree6927c1e479c46cd52ad792ec85abd14f894acafe
parent0d53fc38d5f8478749c684bb7e00304f7ce72c6d (diff)
downloaddrakclassic-config-e31005bad7ccdb110874906e8be116c2584020a5.tar
drakclassic-config-e31005bad7ccdb110874906e8be116c2584020a5.tar.gz
drakclassic-config-e31005bad7ccdb110874906e8be116c2584020a5.tar.bz2
drakclassic-config-e31005bad7ccdb110874906e8be116c2584020a5.tar.xz
drakclassic-config-e31005bad7ccdb110874906e8be116c2584020a5.zip
Simplify build_all script.
-rwxr-xr-xbuild_all.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/build_all.sh b/build_all.sh
index 317c3b2..4c66280 100755
--- a/build_all.sh
+++ b/build_all.sh
@@ -13,7 +13,8 @@ esac
./update_bootloader_files.sh
for arch in $archs; do
+ isoname=$distro-$version-$arch
$sudo drakclassic --clean --all --define arch=$arch
- $sudo mkdir -p $destdir/$distro-$version-${arch}
- $sudo cp $workdir/$distro-$version-$arch/dist/* $destdir/$distro-$version-${arch}/
+ $sudo mkdir -p $destdir/$isoname
+ $sudo cp $workdir/$isoname/dist/* $destdir/$isoname/
done