From 5a4cd5a83637e6d445809f2cfddb55ba9590a4d2 Mon Sep 17 00:00:00 2001 From: arne_f Date: Sat, 2 Feb 2008 08:30:44 +0000 Subject: [PATCH] Fix creating FIREBUILD from $SVN_REVISION on some systems git-svn-id: http://svn.ipfire.org/svn/ipfire/branches/2.1/trunk@1172 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 --- make.sh | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/make.sh b/make.sh index db032cd1c1..9e86c64ae1 100755 --- 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 -- 2.39.2