summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hgignore1
-rwxr-xr-xlib/rfc/grabrfc1
2 files changed, 2 insertions, 0 deletions
diff --git a/.hgignore b/.hgignore
index fef92416e..2811edc5c 100644
--- a/.hgignore
+++ b/.hgignore
@@ -7,6 +7,7 @@ syntax: regexp
^acme/bin/(386|68000|68020|alpha|amd64|arm|power|power64|sparc|sparc64)(/|$)
^adm/(cache|keys|netkeys|secstore|users|whois|timezone/local)(/|$)
^lib/(ndb|audio|firmware)(/|$)
+^lib/rfc/(drafts|index|rfc.*)(/|$)
^sys/doc/.*\.(html|ps|pdf|png|out)$
^sys/lib/(pkg|lp/log|man/lookman/index)(/|$)
^sys/lib/python/.*\.(pyo|pyc|exe)$
diff --git a/lib/rfc/grabrfc b/lib/rfc/grabrfc
index c1fb48971..4e06df312 100755
--- a/lib/rfc/grabrfc
+++ b/lib/rfc/grabrfc
@@ -36,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