diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-15 23:08:43 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-08-15 23:08:43 +0100 |
commit | bdc4ff6457437eaaaccc80fc44c70dee0af8f5bf (patch) | |
tree | 65b659acec157395226da618abe74c5e0f876954 | |
parent | 6ca117018e25b426b49e709e59015afec56fa3d7 (diff) | |
download | vyos-live-build-bdc4ff6457437eaaaccc80fc44c70dee0af8f5bf.tar.gz vyos-live-build-bdc4ff6457437eaaaccc80fc44c70dee0af8f5bf.zip |
Don't use interpolation to print usage and help as it breaks newlines and tabs.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-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 5bad826fd..c0d3fe6eb 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 f228dd761..08161ae6d 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 |