diff options
author | Ross Vandegrift <ross@kallisti.us> | 2020-05-14 11:15:12 +0100 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-05-14 11:23:04 +0100 |
commit | d2e5fdc9659b6879900d3e4a4226c8b9f6a4e759 (patch) | |
tree | 922226ec3c7f7980d9fa60f2685f84331802cf7b /data | |
parent | eae3cd37e830b82fee160dbc67ea3a75971dffc7 (diff) | |
download | enlightenment-d2e5fdc9659b6879900d3e4a4226c8b9f6a4e759.tar.gz |
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
Diffstat (limited to 'data')
-rwxr-xr-x | data/tools/enlightenment_remote | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/tools/enlightenment_remote b/data/tools/enlightenment_remote index dd4ddf1278..ad7ee197aa 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 |