Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 11 additions and 2 deletions.
  1. +1 −0 src-qt4/config.h
  2. +3 −2 src-sh/about/install.sh
  3. +7 −0 src-sh/config.sh
View
1 src-qt4/config.h
@@ -25,6 +25,7 @@
*/
// Set the PC-BSD specific version string for our utils
+// When you update this tag, be sure to update ../src-sh/config.sh as well
#define PCBSDVERSION QString("10.0.2-PRE")
// Set the LOCALBASE
View
5 src-sh/about/install.sh
@@ -1,7 +1,8 @@
#!/bin/sh
# Script to set "about" version number
-VER=`cat ../../src-qt4/config.h | grep '#define PCBSDVERSION' | cut -d '"' -f 2`
+# Source config file
+. ../config.sh
DEFAULT="/usr/local"
@@ -19,4 +20,4 @@ if [ ! -d "${LB}/share/pcbsd" ] ; then
mkdir -p ${LB}/share/pcbsd/
fi
-echo "$VER" > ${LB}/share/pcbsd/version
+echo "$PCBSDVERSION" > ${LB}/share/pcbsd/version
View
7 src-sh/config.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+# Configuration options for src-sh applications
+
+# Set the PC-BSD version number
+# When you update this tag, be sure to update ../src-qt4/config.h as well
+PCBSDVERSION="10.0.2-PRE"
+export PCBSDVERSION

No commit comments for this range

Something went wrong with that request. Please try again.