Using /bin/sh in setlocalversion lead to corrupted $PTXDIST_VERSION_FULL cause the 'echo -n "$v"' will use the builtin echo which does not know about -n switch.
Before this patch my version looks like this: ---8<--- $ ptxdist --version -n 2011.12.0-00047-g9849e20 --->8--- Signed-off-by: Andreas Bießmann <[email protected]> --- scripts/kernel/setlocalversion | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/scripts/kernel/setlocalversion b/scripts/kernel/setlocalversion index 3e14135..bf467ea 100755 --- a/scripts/kernel/setlocalversion +++ b/scripts/kernel/setlocalversion @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # # This scripts adds local version information from the version # control systems git, mercurial (hg) and subversion (svn). -- 1.7.8 -- ptxdist mailing list [email protected]
