commit 5b466521e45e563cf28365305205a433b10bcf3f
parent 659c9098ccb6f8d9babf9796decf3b930094cdde
Author: sin <sin@2f30.org>
Date: Tue, 13 Jan 2015 12:25:47 +0000
Rename functions from build*() to upgrade*()
Diffstat:
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/upgrade-obsd b/upgrade-obsd
@@ -3,7 +3,7 @@
# You will have to manually ensure that your /usr/src
# and/or /usr/xenocara is up to date.
-buildkernel() {
+upgradekernel() {
cd /usr/src/sys/arch/`uname -m`/conf
config GENERIC.MP
cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
@@ -13,7 +13,7 @@ buildkernel() {
chmod 644 /bsd
}
-buildworld() {
+upgradeworld() {
rm -rf /usr/obj/*
cd /usr/src
make clean
@@ -23,7 +23,7 @@ buildworld() {
make build
}
-buildxenocara() {
+upgradexenocara() {
rm -rf /usr/xobj/*
cd /usr/xenocara
make clean
@@ -40,7 +40,7 @@ finish() {
fw_update
}
-buildkernel | tee kernel.output
-buildworld | tee world.output
-buildxenocara | tee xenocara.output
+upgradekernel | tee kernel.output
+upgradeworld | tee world.output
+upgradexenocara | tee xenocara.output
finish | tee finish.output