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
This commit is contained in:
Ross Vandegrift 2020-05-14 11:15:12 +01:00 committed by Carsten Haitzler (Rasterman)
parent eae3cd37e8
commit d2e5fdc965
1 changed files with 3 additions and 3 deletions

View File

@ -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