Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Backport fix for "about" script to 10.0.1

  • Loading branch information...
commit c642a3b653c2cdc684618d52653655be7f613215 1 parent 5053ee4
@kmoore134 kmoore134 authored
Showing with 10 additions and 2 deletions.
  1. +3 −2 src-sh/about/install.sh
  2. +7 −0 src-sh/config.sh
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
Please sign in to comment.
Something went wrong with that request. Please try again.