]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fix creating FIREBUILD from $SVN_REVISION on some systems
authorarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 2 Feb 2008 08:30:44 +0000 (08:30 +0000)
committerarne_f <arne_f@ea5c0bd1-69bd-2848-81d8-4f18e57aeed8>
Sat, 2 Feb 2008 08:30:44 +0000 (08:30 +0000)
git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1172 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8

make.sh

diff --git a/make.sh b/make.sh
index db032cd1c1f9984122028da5365d88ac33cc589f..9e86c64ae1521c07d85a22cf932c3c08bd9268cb 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -35,11 +35,6 @@ SVN_REVISION=`svn info | grep Revision | cut -c 11-`
 
 IPFVER="full"                          # Which versions should be compiled? (full|devel)
 
-# Set an information about the build number
-if [ -e ./.svn ]; then
-       FIREBUILD=`cat .svn/entries |sed -n 's/^[ \t]*revision=\"// p' | sed -n 's/\".*$// p'`
-fi
-
 # Debian specific settings
 if [ ! -e /etc/debian_version ]; then
        FULLPATH=`which $0`
@@ -683,8 +678,8 @@ build)
        buildipfire
 
        # Setzen des IPFire Builds
-       if [ "$FIREBUILD" ]; then
-               echo "$FIREBUILD" > $BASEDIR/build/var/ipfire/firebuild
+       if [ "$SVN_REVISION" ]; then
+               echo "$SVN_REVISION" > $BASEDIR/build/var/ipfire/firebuild
        else
                echo "_(OvO)_" > $BASEDIR/build/var/ipfire/firebuild
        fi