]> git.donarmstrong.com Git - neurodebian.git/blob - live/auto/build
give sensible values for the volume label and use it for .iso filename
[neurodebian.git] / live / auto / build
1 #!/bin/sh
2
3 lb build noauto ${@} 2>&1 | tee binary.log
4
5 iso=binary-hybrid.iso
6 release_name=$(isoinfo -d -i "${iso}" \
7         | sed -n -e '/Volume id:/s,.*: *,,gp' \
8         | sed -e 's, [Ll]ive,-live,g' \
9         | tr 'A-Z ' 'a-z_' \
10         | sed -e 's,[()],,g')
11 mv binary-hybrid.iso "${release_name}.iso"