Update 2024-01-04 10:08 OpenBSD/amd64-x13
This commit is contained in:
parent
af44106b86
commit
0e50bae470
@ -25,6 +25,7 @@ alias p=port-last
|
||||
alias pj=port-jump
|
||||
alias pmark=port-mark
|
||||
alias po=port-out
|
||||
alias pvim="port-patch"
|
||||
|
||||
#
|
||||
# ALIASES
|
||||
@ -74,6 +75,7 @@ alias dpb-make="_dpbmake"
|
||||
# other
|
||||
alias port-roach="portroach-cli -m codevoid"
|
||||
alias developers="_listdevs"
|
||||
alias port-patch="_patchvim"
|
||||
|
||||
|
||||
#
|
||||
@ -190,6 +192,14 @@ _portmodgoupdate() { make MODGO_VERSION=latest modgo-gen-modules; }
|
||||
_portmodcargo_gen() { make modcargo-gen-crates; }
|
||||
_portmodcargo_genlic() { make modcargo-gen-crates-licenses; }
|
||||
|
||||
_patchvim() {
|
||||
if [ ! -f $1.orig.port ]
|
||||
then
|
||||
doas -u _pbuild cp $1 $1.orig.port
|
||||
fi
|
||||
doas -u _pbuild vim $1
|
||||
}
|
||||
|
||||
_dpbmake() {(
|
||||
set -xe
|
||||
doas chroot /home/dpb /tmp/installdeps.sh $1
|
||||
|
Loading…
Reference in New Issue
Block a user