From: Leif Madsen Date: Thu, 11 Jun 2009 12:15:09 +0000 (+0000) Subject: Fix path for .flavor and .version X-Git-Tag: 11.0.0-beta1~4703 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b37041f2db79e6bb0a8fb0837b3ee42037eb4e0d;p=thirdparty%2Fasterisk.git Fix path for .flavor and .version (issue #14737) Reported by: davidw Patches: flavor.patch uploaded by davidw (license 780) Tested by: davidw git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200039 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/build_tools/make_version_c b/build_tools/make_version_c index 018fc6e887..b3a3e846e3 100755 --- a/build_tools/make_version_c +++ b/build_tools/make_version_c @@ -1,9 +1,9 @@ #!/bin/sh -if [ ! -f ../.flavor ]; then +if [ ! -f .flavor ]; then EXTRA="" else - aadkver=`cat ../.version` - aadkflavor=`cat ../.flavor` + aadkver=`cat .version` + aadkflavor=`cat .flavor` EXTRA=" (${aadkflavor} ${aadkver})" fi cat << END diff --git a/build_tools/make_version_h b/build_tools/make_version_h index 0b651ad009..834a3c391c 100755 --- a/build_tools/make_version_h +++ b/build_tools/make_version_h @@ -1,5 +1,5 @@ #!/bin/sh -if [ ! -f ../.flavor ]; then +if [ ! -f .flavor ]; then cat << END /* * version.h @@ -10,8 +10,8 @@ if [ ! -f ../.flavor ]; then END else - aadkver=`cat ../.version` - aadkflavor=`cat ../.flavor` + aadkver=`cat .version` + aadkflavor=`cat .flavor` cat << END /* * version.h