← Back to team overview

hipl-core team mailing list archive

[Branch ~hipl-core/hipl/trunk] Rev 4906: Employ single quotes in shell command argument to avoid escaping double quotes.

 

------------------------------------------------------------
revno: 4906
committer: Diego Biurrun <diego@xxxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-08-20 16:18:57 +0200
message:
  Employ single quotes in shell command argument to avoid escaping double quotes.
modified:
  Makefile.am


--
lp:hipl
https://code.launchpad.net/~hipl-core/hipl/trunk

Your team HIPL core team is subscribed to branch lp:hipl.
To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'Makefile.am'
--- Makefile.am	2010-08-20 14:14:41 +0000
+++ Makefile.am	2010-08-20 14:18:57 +0000
@@ -247,7 +247,7 @@
 # when creating specific objects that may depend on version.h directly.
 BUILT_SOURCES = version.h
 $(srcdir)/version.h: $(wildcard $(srcdir)/.bzr/branch/last-revision)
-	bzr version-info $(srcdir) --custom --template="#define BZR_REVISION \"{revno}\"\n#define BZR_DATE \"{date}\"\n#define BZR_BRANCH \"{branch_nick}\"\n" > $@
+	bzr version-info $(srcdir) --custom --template='#define BZR_REVISION "{revno}"\n#define BZR_DATE "{date}"\n#define BZR_BRANCH "{branch_nick}"\n' > $@
 
 
 # The complete doc/ subdirectory is in EXTRA_DIST, so files that should