X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=lib%2Frfc%2Fgrabrfc;h=4e06df312ef05d30e9399f1a9ba94d434d30f9cd;hb=12df6f9658de9237754629c75be82d8901a0dd0b;hp=32611c32333236b6615b0203c2e889a8bba398f3;hpb=4c9955ca709d937876dea355b9c4819d2be63bd2;p=plan9front.git diff --git a/lib/rfc/grabrfc b/lib/rfc/grabrfc old mode 100644 new mode 100755 index 32611c323..4e06df312 --- a/lib/rfc/grabrfc +++ b/lib/rfc/grabrfc @@ -3,7 +3,9 @@ rfork en path=(/bin) fn cd + dom=`{ndb/query sys $sysname dom} +if(~ $dom '') dom=$sysname ramfs ftpfs -q/ -a $user@$dom ftp.rfc-editor.org # was ftp.isi.edu @@ -34,6 +36,7 @@ ftpfs -q/ -a $user@$dom ftp.ietf.org # copy in new ones found=no LIB=/lib/rfc/drafts +mkdir -p $LIB cd /n/ftp/internet-drafts for(i in *){ target=$i