forked from enlightenment/enlightenment
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:
parent
eae3cd37e8
commit
d2e5fdc965
|
@ -8,7 +8,7 @@
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
show_help(){
|
show_help(){
|
||||||
# Actual implemented features:
|
# Actual implemented features:
|
||||||
echo -e "
|
printf "
|
||||||
OPTIONS:
|
OPTIONS:
|
||||||
-h This help
|
-h This help
|
||||||
-help 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 info about the new implementation of enlightenment_remote
|
||||||
#-------------------------------------------------------------------------------
|
#-------------------------------------------------------------------------------
|
||||||
show_help_new_tool(){
|
show_help_new_tool(){
|
||||||
echo -e "
|
printf "
|
||||||
This is a new implementation of enlightenment_remote, it uses dbus calls to
|
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
|
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
|
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
|
# 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"
|
echo "E: dbus-send command not found, please install it first"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue