Update 2024-01-17 18:18 OpenBSD/amd64-x13
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
#!/bin/sh -e
|
||||
#!/bin/ksh -e
|
||||
|
||||
# needs converters/qprint
|
||||
# mutt: macro pager,attach \cs "<pipe-message>cat > /tmp/muttpatch.diff<enter><shell-escape>~/.mutt/scripts/portpatch2.sh /tmp/muttpatch.diff<enter>"
|
||||
|
||||
clear
|
||||
|
||||
. ~/.ksh/porttools.ksh
|
||||
|
||||
printf '\n---------------------------------------------------------------------\n'
|
||||
grep -E 'Subject: |^Index|^RCS|^diff --git|^file +|^[-+]{3} ' "${1}"
|
||||
printf '---------------------------------------------------------------------\n\n'
|
||||
|
||||
printf "Apply patch on path? "
|
||||
read -r _path
|
||||
_path=$(dev-dirs $_path)
|
||||
_path=$(port-jump $_path; pwd)
|
||||
|
||||
print "Using: $_path"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user