File: build

package info (click to toggle)
neurodebian 0.43.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 12,988 kB
  • sloc: sh: 2,419; python: 1,978; perl: 412; makefile: 207; javascript: 63
file content (11 lines) | stat: -rwxr-xr-x 279 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

lb build noauto ${@} 2>&1 | tee binary.log

iso=binary-hybrid.iso
release_name=$(isoinfo -d -i "${iso}" \
	| sed -n -e '/Volume id:/s,.*: *,,gp' \
	| sed -e 's, [Ll]ive,-live,g' \
	| tr 'A-Z ' 'a-z_' \
	| sed -e 's,[()],,g')
mv binary-hybrid.iso "${release_name}.iso"