Fix path for .flavor and .version
authorLeif Madsen <leif@leifmadsen.com>
Thu, 11 Jun 2009 12:15:09 +0000 (12:15 +0000)
committerLeif Madsen <leif@leifmadsen.com>
Thu, 11 Jun 2009 12:15:09 +0000 (12:15 +0000)
(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
build_tools/make_version_h

index 018fc6e..b3a3e84 100755 (executable)
@@ -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
index 0b651ad..834a3c3 100755 (executable)
@@ -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