diff options
author | Thomas Haller <thaller@redhat.com> | 2015-01-25 14:52:11 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-01-25 14:54:21 +0100 |
commit | a6aacde469605ed7485ea096dd78b53dded583ab (patch) | |
tree | 045c8976a43050f8a7e1e135b2a40a1dcbb514ed | |
parent | 0c136c1e2cee1e8ec00d18f071562cc846a766a5 (diff) | |
download | NetworkManager-a6aacde469605ed7485ea096dd78b53dded583ab.tar.gz |
build: replace `echo -n` by `printf '%s'` in configure.ac
https://bugzilla.gnome.org/show_bug.cgi?id=743480
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 88e4ddc716..a744755203 100644 --- a/configure.ac +++ b/configure.ac @@ -302,7 +302,7 @@ AM_CONDITIONAL(WITH_QT, test "${enable_qt}" = "yes") AC_ARG_WITH(udev-dir, AS_HELP_STRING([--with-udev-dir=DIR], [Absolute path of the udev base directory. Set to 'no' not to install the udev rules]), [], [with_udev_dir="yes"]) if (test "$with_udev_dir" != 'no'); then - if (test "$with_udev_dir" != 'yes' && echo -n "$with_udev_dir" | grep -v -q '^/'); then + if (test "$with_udev_dir" != 'yes' && printf '%s' "$with_udev_dir" | grep -v -q '^/'); then AC_MSG_ERROR([--with-udev-dir must be an absolute path or 'yes' or 'no'. Instead it is '$with_udev_dir']) fi if (test "$with_udev_dir" = 'yes'); then |