Redirecting stderr to log as well in example image build script.
This commit is contained in:
parent
e691015fc0
commit
593de110e9
|
@ -78,7 +78,7 @@ do
|
|||
|
||||
fi
|
||||
|
||||
lh build | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
|
||||
lh build 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.log
|
||||
|
||||
mv binary.iso debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso
|
||||
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.iso.list
|
||||
|
@ -92,7 +92,7 @@ do
|
|||
|
||||
lh clean --binary
|
||||
lh config -b usb-hdd
|
||||
lh binary | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
|
||||
lh binary 2>&1 | tee debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.log
|
||||
|
||||
mv binary.img debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img
|
||||
mv binary.list debian-live-${DISTRIBUTION}-${ARCHITECTURE}-${FLAVOUR}.img.list
|
||||
|
@ -100,7 +100,7 @@ do
|
|||
|
||||
lh clean --binary
|
||||
lh config -b net
|
||||
lh binary | tee debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.log
|
||||
lh binary 2>&1 | tee debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.log
|
||||
|
||||
mv binary-net.tar.gz debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz
|
||||
mv binary.list debian-live-${DISTRIBUTION}-i386-${FLAVOUR}-net.tar.gz.list
|
||||
|
|
Loading…
Reference in New Issue