X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=upstream%2Fmisc%2Fextraheaders.sh;h=0f6605a38c9fe7d30270fc8ce951f02019ed9f19;hp=17d2612420e529271b1b3a865e43af86aea9dc26;hb=b2b740fdb1e450dea13f037b7110b217c1838e1a;hpb=103c9465744d35d6ade7c0520a5faa2c6375e7b2 diff --git a/upstream/misc/extraheaders.sh b/upstream/misc/extraheaders.sh index 17d2612..0f6605a 100755 --- a/upstream/misc/extraheaders.sh +++ b/upstream/misc/extraheaders.sh @@ -1,13 +1,14 @@ + #!/bin/sh -e mkdir -p arpa netinet sys nestedvm for f in arpa/inet.h netdb.h netinet/in.h sys/socket.h; do - test -e $f || echo "#include " > $f + test -f $f || echo "#include " > $f done for f in getopt.h; do - test -e $f || echo "#include " > $f + test -f $f || echo "#include " > $f done cat <<__EOF__ > sys/ioctl.h