Skip to content
Snippets Groups Projects
Commit b37041f2 authored by Leif Madsen's avatar Leif Madsen
Browse files

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
parent 358a6bb8
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
if [ ! -f ../.flavor ]; then if [ ! -f .flavor ]; then
EXTRA="" EXTRA=""
else else
aadkver=`cat ../.version` aadkver=`cat .version`
aadkflavor=`cat ../.flavor` aadkflavor=`cat .flavor`
EXTRA=" (${aadkflavor} ${aadkver})" EXTRA=" (${aadkflavor} ${aadkver})"
fi fi
cat << END cat << END
......
#!/bin/sh #!/bin/sh
if [ ! -f ../.flavor ]; then if [ ! -f .flavor ]; then
cat << END cat << END
/* /*
* version.h * version.h
...@@ -10,8 +10,8 @@ if [ ! -f ../.flavor ]; then ...@@ -10,8 +10,8 @@ if [ ! -f ../.flavor ]; then
END END
else else
aadkver=`cat ../.version` aadkver=`cat .version`
aadkflavor=`cat ../.flavor` aadkflavor=`cat .flavor`
cat << END cat << END
/* /*
* version.h * version.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment