In the first line of version.sh, $v was set to "Btrfs vx.yy", and in the end "Btrfs $v" was echoed to the version.h file. This resulted in the version string "Btrfs Btrfs vx.yy". This patch removes the second occurrence of "Btrfs".
Signed-off-by: Dieter Ries <m...@dieterries.net> --- version.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/version.sh b/version.sh index af3e441..2c1aff1 100644 --- a/version.sh +++ b/version.sh @@ -46,7 +46,7 @@ fi echo "#ifndef __BUILD_VERSION" > .build-version.h echo "#define __BUILD_VERSION" >> .build-version.h -echo "#define BTRFS_BUILD_VERSION \"Btrfs $v\"" >> .build-version.h +echo "#define BTRFS_BUILD_VERSION \"$v\"" >> .build-version.h echo "#endif" >> .build-version.h diff -q version.h .build-version.h >& /dev/null -- 1.7.3.GIT -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html