[Sound-open-firmware] [PATCH] build: fix version script to use correct version in tarball build
![](https://secure.gravatar.com/avatar/24e6a8158be3c9b52253d878d1487123.jpg?s=120&d=mm&r=g)
make sure the tarball build uses the correct version.
Signed-off-by: Liam Girdwood liam.r.girdwood@linux.intel.com --- version.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/version.sh b/version.sh index 1f57c53..33b1451 100755 --- a/version.sh +++ b/version.sh @@ -11,7 +11,7 @@ else fi
# create git version if we are a git repo -if [ ! -d $DIR/.git ]; then +if [ -d $DIR/.git ]; then # version for make dist git describe --abbrev=4 > $DIR/.version git describe --abbrev=4 > $DIR/.tarball-version @@ -19,7 +19,7 @@ if [ ! -d $DIR/.git ]; then # git commit for IPC echo "#define REEF_TAG "`git log --pretty=format:"%h" -1 | cut -c1-5`"" > $DIR/src/include/version.h else - echo "#define REEF_TAG 0" > $DIR/src/include/version.h + echo "#define REEF_TAG "0"" > $DIR/src/include/version.h fi
# build counter
participants (1)
-
Liam Girdwood