unstack, sort: cleanup and improvement
[minix.git] / releasetools / chrootmake.sh
blob444d33f5da644f5874da6b58893410a43114d920
1 #!/bin/sh
2 set -e
3 export SHELL=/bin/sh
4 cd /usr/src
6 if [ $# -gt 0 ]
7 then make $@
8 exit $?
9 fi
10 make world
11 cp /usr/mdec/boot_monitor /
12 cp /boot/minix_latest/* /boot/minix_default/
14 if [ $MAKEMAP -ne 0 ]; then
15 find . -type f -perm 755 | xargs nm -n 2> /dev/null > symbols.txt
17 make clean cleandepend