X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=3bcf349c18ca2256c2c9a89e6c6e903da6ccf619;hp=dbc9bbd182f8846c60e769752ed1c942eac696b2;hb=6d72f5e0c3eb705b3c6479a22377c0b4b7f498d0;hpb=896626325ecf904b16d44d7f3b896bc4b4ca6d11 diff --git a/grml-live b/grml-live index dbc9bbd..3bcf349 100755 --- a/grml-live +++ b/grml-live @@ -951,6 +951,14 @@ if [ "$ARCH" = i386 ] || [ "$ARCH" = amd64 ] ; then fi done + for param in ARCH DATE DISTRI_INFO DISTRI_NAME DISTRI_SPLASH GRML_NAME SQUASHFS_NAME \ + RELEASE_INFO SHORT_NAME VERSION ; do + for file in $(find "${BUILD_OUTPUT}" -name "*%$param%*") ; do + value="$(eval echo '$'"$param")" + mv ${file} ${file/\%${param}\%/$value} + done + done + # adjust bootsplash accordingly but make sure the string has the according lenght SQUASHFS_NAME="$(cut_string 20 "$SQUASHFS_NAME")" SQUASHFS_NAME="$(extend_string_end 20 "$SQUASHFS_NAME")"