about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T16·33+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-01-09T16·33+0100
commitcf918b889b2ff30d1532a62d00c21007d0cb25cd (patch)
tree41f8a56dbe7d552c2b1359aa4362e30d97af636d
parentb4c684e0f9c6890e13f9a5cc90b5e379b3d1f75d (diff)
Handle systems where "echo -n" doesn't work
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c6bb204aef8b..753436911ee5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,4 +1,4 @@
-AC_INIT(nix, m4_esyscmd([echo -n $(cat ./version)$VERSION_SUFFIX]))
+AC_INIT(nix, m4_esyscmd([bash -c "echo -n $(cat ./version)$VERSION_SUFFIX"]))
 AC_CONFIG_SRCDIR(README)
 AC_CONFIG_AUX_DIR(config)