diff options
author | Andreas Bießmann <andreas@biessmann.de> | 2011-12-16 19:18:27 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-01-04 11:02:07 +0100 |
commit | 7368e3e3a8218f4b5bb00a5e58cc9efb7fcfe797 (patch) | |
tree | 8b11ca037ec510f45f9e0f4326793f1450d2ea32 /rules/python.in | |
parent | c633ec60ca6505bb2c1d4c8156e2e3d83f2220ac (diff) | |
download | ptxdist-7368e3e3a8218f4b5bb00a5e58cc9efb7fcfe797.tar.gz ptxdist-7368e3e3a8218f4b5bb00a5e58cc9efb7fcfe797.tar.xz |
setlocalversion: replace echo -n with printf
On some systems the 'echo -n "$v"' lead to corrupted
$PTXDIST_VERSION_FULL cause the builtin echo is used which does not know
about -n switch. Instead of just removing the -n switch use printf as
the rest of this script do.
Before this patch my version looks like this:
---8<---
$ ptxdist --version
-n 2011.12.0-00047-g9849e20
--->8---
Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
cc: Michael Olbrich <m.olbrich@pengutronix.de>
cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python.in')
0 files changed, 0 insertions, 0 deletions