diff options
author | André Erdmann <dywi@mailerd.de> | 2014-10-26 18:41:44 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-26 18:51:00 +0100 |
commit | 2113ed46b2ea6ce7e44c7af566059d4d1a1504ae (patch) | |
tree | 221edef12eeed5042d284f7c4144f661f60a9fff | |
parent | 53ff562a9ef2112f48074865f3c8e489e7661d66 (diff) | |
download | buildroot-2113ed46b2ea6ce7e44c7af566059d4d1a1504ae.tar.gz buildroot-2113ed46b2ea6ce7e44c7af566059d4d1a1504ae.zip |
sysv init scripts: remove gettext invocations
$"str" is supposed to translate str (depending on the current locale).
In ash/dash/..., it cannot be expanded, so commands like
echo $"Usage: $0 start|stop"
are printed as '$Usage: SCRIPT start|stop' in [d]ash,
and as 'Usage: SCRIPT start|stop' in bash.
This patch removes the '$' in front of '"'.
Command(s) used for editing:
find . -type f -name '[SK][0-9][0-9]*' | \
xargs sed -r -e 's@[$](["])@\1@g' -i
Signed-off-by: André Erdmann <dywi@mailerd.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/busybox/S15watchdog | 2 | ||||
-rw-r--r-- | package/inadyn/S70inadyn | 2 | ||||
-rwxr-xr-x | package/netatalk/S50netatalk | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/package/busybox/S15watchdog b/package/busybox/S15watchdog index 7f1110c46e..470c6d7301 100644 --- a/package/busybox/S15watchdog +++ b/package/busybox/S15watchdog @@ -13,7 +13,7 @@ case "$1" in restart|reload) ;; *) - echo $"Usage: $0 {start|stop|restart}" + echo "Usage: $0 {start|stop|restart}" exit 1 esac diff --git a/package/inadyn/S70inadyn b/package/inadyn/S70inadyn index b5d7eed6fa..96e75329c4 100644 --- a/package/inadyn/S70inadyn +++ b/package/inadyn/S70inadyn @@ -29,7 +29,7 @@ case "$1" in "$0" start ;; *) - echo $"Usage: $0 {start|stop|restart}" + echo "Usage: $0 {start|stop|restart}" exit 1 esac diff --git a/package/netatalk/S50netatalk b/package/netatalk/S50netatalk index f109174961..287b20d774 100755 --- a/package/netatalk/S50netatalk +++ b/package/netatalk/S50netatalk @@ -25,7 +25,7 @@ case "$1" in stop ;; *) - echo $"Usage: $0 {start|stop|restart}" + echo "Usage: $0 {start|stop|restart}" exit 1 esac |