From d2e5fdc9659b6879900d3e4a4226c8b9f6a4e759 Mon Sep 17 00:00:00 2001 From: Ross Vandegrift Date: Thu, 14 May 2020 11:15:12 +0100 Subject: [PATCH] Fix bashisms in enlightenment_remote Summary: Since enlightenment_remote declares #!/bin/sh, it should stick to standard bourne shell features. Reviewers: devilhorns Subscribers: cedric, zmike Tags: #enlightenment-git Differential Revision: https://phab.enlightenment.org/D10243 --- data/tools/enlightenment_remote | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote index dd4ddf127..ad7ee197a 100755 --- a/data/tools/enlightenment_remote +++ b/data/tools/enlightenment_remote @@ -8,7 +8,7 @@ #------------------------------------------------------------------------------- show_help(){ # Actual implemented features: -echo -e " +printf " OPTIONS: -h This help -help This help @@ -64,7 +64,7 @@ Note: This is a new implementation of enlightenment_remote, # Show info about the new implementation of enlightenment_remote #------------------------------------------------------------------------------- show_help_new_tool(){ - echo -e " + printf " This is a new implementation of enlightenment_remote, it uses dbus calls to enlightenment so it is using the new system, this tool is a front-end just like the original tool, created for the ease-to-use of the users and in order to @@ -449,7 +449,7 @@ er_window_unmaximize(){ # RETURNS: just finishes and exit #=============================================================================== -if ! type dbus-send > /dev/null 2>&1; then +if ! which dbus-send > /dev/null 2>&1; then echo "E: dbus-send command not found, please install it first" exit 1 fi