Started work on updating build.sh.

This commit is contained in:
Storm Dragon 2019-12-12 08:37:33 -05:00
parent 9f5ac49037
commit 059d94b125

View File

@ -38,8 +38,8 @@ log() {
done done
} }
# Log file name is /var/log/build.f123 # Log file name is /var/log/build.stormux
logFile="/var/log/build.f123" logFile="/var/log/build.stormux"
set -e set -e
# Load the common functions # Load the common functions
@ -211,7 +211,7 @@ find /tmp/files-F123Light/locales -type f -iname '*.po' -exec bash -c '
o="${o%.po}.mo" o="${o%.po}.mo"
msgfmt "$i" -o "${workdir}/root/usr/share/locale/${language}/LC_MESSAGES/${o}" msgfmt "$i" -o "${workdir}/root/usr/share/locale/${language}/LC_MESSAGES/${o}"
done' _ {} + done' _ {} +
mkdir -p "${workdir}/root/usr/share/doc/F123" |& log mkdir -p "${workdir}/root/usr/share/doc/stormux" |& log
cp -Rv /tmp/content-F123Light/F123/* "${workdir}/root/usr/share/doc/F123/" |& log cp -Rv /tmp/content-F123Light/F123/* "${workdir}/root/usr/share/doc/F123/" |& log
# remove the temporary files again. # remove the temporary files again.