From 50a12985dc574a093132bdf4d02ee5da2382679d Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 17 Nov 2018 11:42:42 +0000 Subject: Update build_all.sh for latest version and file name changes. Automatically extract the version from the settings.cfg file. --- build_all.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build_all.sh b/build_all.sh index 9a7c3f1..c881ffd 100755 --- a/build_all.sh +++ b/build_all.sh @@ -2,7 +2,7 @@ declare -A desktops -release=6 +version=$(grep version config/settings.cfg | sed s/version=//) archs="i586 x86_64" @@ -14,8 +14,8 @@ desktops[x86_64]="GNOME Plasma Xfce" for arch in $archs; do for desktop in ${desktops[$arch]}; do sudo -u draklive sudo /usr/bin/draklive2 --clean --all --define arch=$arch --define desktop=$desktop - sudo -u bcd mkdir -p /home/bcd/public_html/isos/trial-builds/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD - sudo -u bcd cp /home/draklive/var-data/build/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD/dist/* /home/bcd/public_html/isos/trial-builds/Mageia-${release}-LiveDVD-${desktop}-${arch}-DVD + sudo -u bcd mkdir -p /home/bcd/public_html/isos/trial-builds/Mageia-${version}-Live-${desktop}-${arch} + sudo -u bcd cp /home/draklive/var-data/build/Mageia-${version}-Live-${desktop}-${arch}/dist/* /home/bcd/public_html/isos/trial-builds/Mageia-${version}-Live-${desktop}-${arch} # not enough space on rabbit's RAM disk for all four variants, so delete as we go sudo -u draklive sudo /usr/bin/draklive2 --clean --define arch=$arch --define desktop=$desktop done -- cgit v1.2.1