Update 2024-02-14 07:51 OpenBSD/amd64-x13
This commit is contained in:
35
.bin/OLD/migrate-varbase.sh
Executable file
35
.bin/OLD/migrate-varbase.sh
Executable file
@@ -0,0 +1,35 @@
|
||||
#!/bin/sh
|
||||
echo "Changing all VARBASE to LOCALSTATEDIR"
|
||||
find . ! -path "*/CVS/*" -type f ! -name "*.orig" -exec sed -i "s/VARBASE/LOCALSTATEDIR/g" "{}" \;
|
||||
|
||||
echo "List LOCALSTATEDIR lines:"
|
||||
fgrep -r LOCALSTATEDIR .
|
||||
|
||||
echo "Show CVS diff"
|
||||
cvs diff .
|
||||
|
||||
make show=MAINTAINER
|
||||
|
||||
echo -n "Bump? "
|
||||
read
|
||||
case $REPLY in
|
||||
[yY]) portbump; ;;
|
||||
esac
|
||||
|
||||
echo -n "Testbuild? "
|
||||
read
|
||||
case $REPLY in
|
||||
[yY]) make clean=all; make -j 12 fetch; make package; portcheck; ;;
|
||||
esac
|
||||
|
||||
echo -n "Portcheck? "
|
||||
read
|
||||
case $REPLY in
|
||||
[yY]) portcheck; ;;
|
||||
esac
|
||||
|
||||
echo -n "make port-lib-depends-check? "
|
||||
read
|
||||
case $REPLY in
|
||||
[yY]) make port-lib-depends-check; ;;
|
||||
esac
|
||||
Reference in New Issue
Block a user