small fixes to allow warningless compilation with Qt
[k8noscheme:mainline.git] / znewimg.sh
1 #!/bin/sh
2
3 mydir=`dirname $0`
4 cdir=$PWD
5
6 cd "$mydir"
7 rm sysnew.gen sysnew.img 2>/dev/null
8 ./sysnew/0gen.sh
9
10 if [ -e sysnew.gen ]; then
11   echo "*** generating new image: sysnew.img ***"
12   "$mydir/mkimage" "$mydir/sysnew.img" "$mydir/sysnew.gen"
13 else
14   echo "ERROR!"
15 fi
16
17 cd "$cdir"