diff options
author | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-01-17 00:22:07 +0100 |
---|---|---|
committer | Dieter Hametner <dh (plus) vdr (at) gekrumbel (dot) de> | 2008-01-17 00:22:07 +0100 |
commit | 880ee6e7feb33daeb94c6a1195c8eb4202a570b0 (patch) | |
tree | 41f56853a09b9de5f996fdac3428ce70f527a813 /buildutil | |
parent | e565e758763f32f49350b78b63308539cc0d90ab (diff) | |
download | vdr-plugin-live-880ee6e7feb33daeb94c6a1195c8eb4202a570b0.tar.gz vdr-plugin-live-880ee6e7feb33daeb94c6a1195c8eb4202a570b0.tar.bz2 |
Fixed some compile time problems with the version generation.
Diffstat (limited to 'buildutil')
-rwxr-xr-x | buildutil/version-util | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/buildutil/version-util b/buildutil/version-util index cf2aa31..f35d7f7 100755 --- a/buildutil/version-util +++ b/buildutil/version-util @@ -22,7 +22,7 @@ cat <<EOF */ #ifndef GEN_VERSION_SUFFIX_H #define GEN_VERSION_SUFFIX_H -#define VERSION_SUFFIX $1 +#define VERSION_SUFFIX "$1" #endif EOF } @@ -60,7 +60,9 @@ function checkVers () else v=`grep '^#define VERSION_SUFFIX' ${VERS_FILE} \ | awk '{print $3}'` - if [ "$v" != "$s" ]; then + echo "s: $s" + echo "v: $v" + if [ "$v" != "\"$s\"" ]; then echo "$VERS_FILE is being recreated!" createVers $s > ${VERS_FILE} fi |