Update 2024-01-17 18:18 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2024-01-17 18:18:42 +01:00
parent 1c1601e258
commit ca61530b02
14 changed files with 90 additions and 22 deletions

View File

@@ -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"