Use /dev instead of MAKEDEV because release builds are run as bin.

This commit is contained in:
Ben Gras 2006-04-03 19:36:15 +00:00
parent 38676609c1
commit 261ae3b463

View File

@ -1,12 +1,10 @@
#!/bin/sh #!/bin/sh
rm -rf t sed -n '1,/@DEV/p' <proto | grep -v @DEV@
mkdir t 2>/dev/null || true (
cd t cd /dev
MAKEDEV std ls -aln | grep '^[bc]' | egrep -v ' (fd1|fd0p|tcp|eth|ip|udp|tty[pq]|pty)' | \
rm fd1* fd0p* tcp* eth* ip* udp* tty[pq]* pty*
sed -n '1,/@DEV/p' <../proto | grep -v @DEV@
ls -aln | grep '^[bc]' | \
sed -e 's/^[bc]/& /' -e 's/rw-/6/g' -e 's/r--/4/g' \ sed -e 's/^[bc]/& /' -e 's/rw-/6/g' -e 's/r--/4/g' \
-e 's/-w-/2/g' -e 's/---/0/g' | \ -e 's/-w-/2/g' -e 's/---/0/g' | \
awk '{ printf "\t\t%s %s--%s %d %d %d %d \n", $11, $1, $2, $4, $5, $6, $7; }' awk '{ printf "\t\t%s %s--%s %d %d %d %d \n", $11, $1, $2, $4, $5, $6, $7; }'
sed -n '/@DEV/,$p' <../proto | grep -v @DEV@ )
sed -n '/@DEV/,$p' <proto | grep -v @DEV@