projects
/
fbsd-stable-mgmt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
take a snapshot before upgrading
[fbsd-stable-mgmt.git]
/
update_stagep.sh
diff --git
a/update_stagep.sh
b/update_stagep.sh
index ed637bdfe92aac70df3779fe60124ee44e1b44a1..eb2fa22925dae30f2e55b46823886373e16c693f 100755
(executable)
--- a/
update_stagep.sh
+++ b/
update_stagep.sh
@@
-15,7
+15,7
@@
parse() {
do
case ${option} in
u)
do
case ${option} in
u)
- update="1"
+ UPDATE=1
;;
j)
case ${OPTARG} in
;;
j)
case ${OPTARG} in
@@
-42,14
+42,20
@@
else
parse ${*}
fi
parse ${*}
fi
-echo "Updating port Tree"
-
-[ ${update} ] && poudriere ports -p HEAD -u
+if [ ${UPDATE:=-0} -eq 1 ]; then
+ echo "Updating port Tree"
+ poudriere ports -p HEAD -u
+fi
-echo "building lapinbilly"
+echo ------------------------------------------------------------------
+echo building lapinbilly
+echo ..................................................................
-poudriere bulk -J ${jarg}
-j lapinbilly -p HEAD -f /usr/local/etc/poudriere.d/port
-list
+poudriere bulk -J ${jarg}
:2 -j owncloud -p HEAD -f /usr/local/etc/poudriere.d/lp
-list
-echo "building llanura"
+echo
+echo ------------------------------------------------------------------
+echo building llanura
+echo ..................................................................
-poudriere bulk -J ${jarg}
-j release11 -p HEAD -f /usr/local/etc/poudriere.d/port-list-llanura
+poudriere bulk -J ${jarg}
:2 -j release11 -p HEAD -f /usr/local/etc/poudriere.d/llanura-list