From 2c96ac73be253f251a0dd48db66d30cb6bb69e8a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 2 Mar 2015 09:01:22 +0100 Subject: [PATCH] build: remove bashism from configure.ac constructing session_tracking value (ln -snf /bin/dash ./sh; export PATH=".:$PATH"; export CONFIG_SHELL=/bin/dash; ./configure) https://bugzilla.gnome.org/show_bug.cgi?id=743480 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index a6780114a..3df0a6a17 100644 --- a/configure.ac +++ b/configure.ac @@ -384,7 +384,7 @@ if test "$use_consolekit" = "yes"; then AC_DEFINE([CKDB_PATH], "/var/run/ConsoleKit/database", [Path to ConsoleKit database]) session_tracking="$session_tracking, consolekit" fi -session_tracking=${session_tracking:2} +session_tracking="$(printf '%s' "${session_tracking}" | sed 's/^, //')" AC_ARG_WITH(suspend-resume, AS_HELP_STRING([--with-suspend-resume=upower|systemd], [Build NetworkManager with specific suspend/resume support])) if test "z$with_suspend_resume" = "z"; then