#!/bin/rc if(~ $#* 0){ echo 'usage: patch/applied patch-name' >[1=2] exit usage } . /rc/bin/patch/defs mountfs test -e /n/dist/386 || bind / /n/dist || fail no dist d=/n/dist/dist/patch/$1 must cd $d echo $1 >>/n/dist/dist/patch/applied cd .. rm -rf /n/dist/dist/patch/$1