Skip to content
Browse files

Allow override of ISOVER when building ISOs

  • Loading branch information...
1 parent ca44b71 commit 1bb686b835dc9e2b7897f2d178ac2329c2d4f372 @kmoore134 kmoore134 committed
Showing with 4 additions and 1 deletion.
  1. +4 −1 scripts/functions.sh
View
5 scripts/functions.sh
@@ -48,7 +48,10 @@ BRANCH="`cat ${WORLDSRC}/sys/conf/newvers.sh 2>/dev/null | grep '^BRANCH=' | cut
if [ -z "$BRANCH" ] ; then
BRANCH="UNKNOWN"
fi
-export ISOVER="${REVISION}-${BRANCH}"
+if [ -z "$ISOVER" ] ; then
+ # This can be overridden via pcbsd.cfg
+ export ISOVER="${REVISION}-${BRANCH}"
+fi
# Where are the config files
PCONFDIR="${GITBRANCH}/build-files/conf" ; export PCONFDIR

0 comments on commit 1bb686b

Please sign in to comment.
Something went wrong with that request. Please try again.