aboutsummaryrefslogtreecommitdiffstats
path: root/build_tools
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-11 12:15:09 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-06-11 12:15:09 +0000
commit34686ba7ad92c17d8d1559034f00a3ccf4857661 (patch)
tree2823d34fa8a5e75a222015a45e80671563c6d490 /build_tools
parent748c02c869f78468318c93be1033b8a3bcf270d9 (diff)
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: http://svn.digium.com/svn/asterisk/trunk@200039 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'build_tools')
-rwxr-xr-xbuild_tools/make_version_c6
-rwxr-xr-xbuild_tools/make_version_h6
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