From b37041f2db79e6bb0a8fb0837b3ee42037eb4e0d Mon Sep 17 00:00:00 2001 From: Leif Madsen Date: Thu, 11 Jun 2009 12:15:09 +0000 Subject: 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 --- build_tools/make_version_c | 6 +++--- build_tools/make_version_h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build_tools/make_version_c b/build_tools/make_version_c index 018fc6e88..b3a3e846e 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 0b651ad00..834a3c391 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 -- cgit v1.2.3