mkfilelist: give find an argument

This commit is contained in:
Albert Lee 2008-12-01 19:03:49 -05:00
parent 4a8429a2bf
commit 3df522ce76

2
dist/mkfilelist vendored
View file

@ -1,6 +1,6 @@
#!/usr/local/plan9/bin/rc #!/usr/local/plan9/bin/rc
@{cd $PLAN9; find -type f -print; find -type d -print | sed 's;$;/;'} | @{cd $PLAN9; find . -type f -print; find . -type d -print | sed 's;$;/;'} |
sort | sed 's;^./;;' | grep . | sort | sed 's;^./;;' | grep . |
awk -vplan9'='$PLAN9 ' awk -vplan9'='$PLAN9 '
function cat(s) { function cat(s) {