diff options
author | Ori Bernstein <ori@eigenstate.org> | 2022-05-22 17:27:31 +0000 |
---|---|---|
committer | Ori Bernstein <ori@eigenstate.org> | 2022-05-22 17:27:31 +0000 |
commit | a59e61a6a4e11e0256da0d209afa38ccacd460a2 (patch) | |
tree | 549dfadf95e33c523a8d097e000e687f496e2686 /rc/bin/patch/move | |
parent | 23f8872bc10fbe9ffd2b0067db1f91d8eaaabb40 (diff) |
patch(1): remove bell labs patch scripts
bell labs is dead, and nobody is listening; 9front
has our own patch submission proces.
Diffstat (limited to 'rc/bin/patch/move')
-rwxr-xr-x | rc/bin/patch/move | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/rc/bin/patch/move b/rc/bin/patch/move deleted file mode 100755 index 60dfb952c..000000000 --- a/rc/bin/patch/move +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/rc -# patch/move target patch-tree... - move patch tree(s) to target dir -rfork e -pats=/n/sources/patch -if(~ $#* 0 1){ - echo 'usage: patch/move dst patch-name...' >[1=2] - exit usage -} - -if(! test -d $pats){ - rfork n - 9fs sources -} -cd $pats - -dst=$1 -shift -for(src){ - patbase = `{basename $src} - patdest = $dst/$patbase - if (~ $dst $src $patbase) - echo $0: skipping $src >[1=2] - if not if(! test -d $src) - echo $0: no such patch $pats/$src >[1=2] - if not if(test -d $patdest) - echo $0: already have $pats/$patdest >[1=2] - if not - ls -ldp $src >$src/origls && - mkdir $patdest && dircp $src $patdest && rm -rf $src && - test -s $patdest/email && patch/notify $patdest -} |