commit b49293577de6c43ba43333a98ea11da3cac99422
parent a50a7b1218b318ddb98a0c053b4f18226f22a577
Author: sin <sin@2f30.org>
Date: Sun, 3 Apr 2016 16:23:06 +0100
remove make clean steps
Diffstat:
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/upgrade-obsd b/upgrade-obsd
@@ -4,9 +4,9 @@
# before running this script.
upgradekernel() {
- cd /usr/src/sys/arch/`uname -m`/conf
+ cd /usr/src/sys/arch/`machine`/conf
config GENERIC.MP
- cd /usr/src/sys/arch/`uname -m`/compile/GENERIC.MP
+ cd /usr/src/sys/arch/`machine`/compile/GENERIC.MP
make clean
make
make install
@@ -18,7 +18,6 @@ upgradekernel() {
upgradeworld() {
rm -rf /usr/obj/*
cd /usr/src
- make clean
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
@@ -28,7 +27,6 @@ upgradeworld() {
upgradexenocara() {
rm -rf /usr/xobj/*
cd /usr/xenocara
- make clean
make bootstrap
make obj
make build