shithub: rc

Download patch

ref: 664ed60c28bd70ea087bff6fa56167fc65d6f100
parent: 1d259c06594034a05bb204bff8abca2564032258
author: qwx <qwx@sciops.net>
date: Mon Apr 3 11:39:29 EDT 2023

pa4: batch apply everything and use our own patch(1)

--- a/bin/pa4
+++ b/bin/pa4
@@ -1,4 +1,4 @@
-#!/bin/rc -e
+#!/bin/rc
 for(i in $*){
 	if(! test -f $i){
 		echo usage: $0 patch..
@@ -8,5 +8,5 @@
 	p=1
 	if(~ git $h)
 		p=0
-	ape/patch --no-backup-if-mismatch -p$p <$i
+	patch -p$p <$i
 }