add rfork e; make create print the right patch name when requesting that the user run patch/email. Reference: /n/sources/patch/applied/right-patch-name Date: Wed Feb 9 07:56:17 CET 2005 --- /rc/bin/patch/create Wed Feb 9 07:55:49 2005 +++ /rc/bin/patch/create Wed Feb 9 07:55:47 2005 @@ -1,5 +1,5 @@ #!/bin/rc - +rfork e if(~ $#* 0 1){ echo 'usage: patch/create name file... [< description]' >[1=2] exit usage @@ -15,7 +15,8 @@ 9fs sources } -d=/n/sources/patch/$1 +patch=$1 +d=/n/sources/patch/$patch if(! mkdir $d){ echo mkdir $d failed >[1=2] exit mkdir @@ -69,7 +70,7 @@ } -echo >[1=2] please run patch/email $1 your-email-address +echo >[1=2] please run patch/email $patch your-email-address echo >[1=2] so that 9trouble can mail you if there are questions. thanks. echo >[1=2] the email address will not be readable by other sources users. echo >[1=2]