X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=make.sh;h=eea54f42cc5e5af6fefa097c4417a4d8ffcf7964;hp=5fe00355c7d83d5ef4b0f3d9d6bb4de3ffd580dd;hb=7476f4768af7adcd8f5f91172862a35eb2b95262;hpb=5cfe86e6c45e7fc9f75c301605daf17198fce12d diff --git a/make.sh b/make.sh index 5fe00355c7..eea54f42cc 100644 --- a/make.sh +++ b/make.sh @@ -33,6 +33,12 @@ KVER=`grep --max-count=1 VER lfs/linux | awk '{ print $3 }'` MACHINE=`uname -m` + # Setzen des IPFire Builds + if [ -e ./.svn ]; then + FIREBUILD=`cat .svn/entries |sed -n 's/^[ \t]*revision=\"// p' | sed -n 's/\".*$// p'` +# VERSION="$VERSION (Build:$FIREBUILD)" + fi + # Debian specific settings if [ ! -e /etc/debian_version ]; then FULLPATH=`which $0` @@ -900,10 +906,10 @@ build) buildipcop # Setzen des IPFire Builds - if [ -e ./.svn ]; then - cat .svn/entries |sed -n 's/^[ \t]*revision=\"// p' | sed -n 's/\".*$// p' > $LFS/home/httpd/html/firebuild + if [ $FIREBUILD ]; then + echo "$FIREBUILD" > $CONFIG_ROOT/firebuild else - echo "_(OvO)_" > $LFS/home/httpd/html/firebuild + echo "_(OvO)_" > $CONFIG_ROOT/firebuild fi buildinstaller