diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-15 23:08:43 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:40 +0100 |
commit | 026a683b771ef549337777a28b636555dabd260b (patch) | |
tree | 54e564b1feb331d0e69d6b7ff7c48f175a23ac8f /functions | |
parent | 1a8e86926512078b8bee53264102ce332556b4cd (diff) | |
download | live-build-026a683b771ef549337777a28b636555dabd260b.zip live-build-026a683b771ef549337777a28b636555dabd260b.tar.gz |
Don't use interpolation to print usage and help as it breaks newlines and tabs.
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/help.sh | 4 | ||||
-rwxr-xr-x | functions/usage.sh | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/functions/help.sh b/functions/help.sh index 5bad826..c0d3fe6 100755 --- a/functions/help.sh +++ b/functions/help.sh @@ -18,7 +18,7 @@ Help () if [ -n "${USAGE}" ] then - Echo "%s" "${USAGE}" + Echo "${USAGE}" echo fi Echo " %s [-h|--help]" "${PROGRAM}" @@ -28,7 +28,7 @@ Help () if [ -n "${HELP}" ] then - Echo "%s" "${HELP}" + Echo "${HELP}" echo fi diff --git a/functions/usage.sh b/functions/usage.sh index f228dd7..08161ae 100755 --- a/functions/usage.sh +++ b/functions/usage.sh @@ -18,7 +18,7 @@ Usage () if [ -n "${USAGE}" ] then - Echo " %s" "${USAGE}" + Echo " ${USAGE}" echo fi |