From 3edd568683d04de2bddc3096d65bdfd317180dff Mon Sep 17 00:00:00 2001 From: "kestes%walrus.com" Date: Wed, 14 Nov 2001 21:23:40 +0000 Subject: [PATCH] my echo statements had leading '$', how did they get there? I added to the test command so that you can see exactly how it was called. change the example to show how --tree now works. --- .../tinderbox2/src/clientbin/build_redhat_initrc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/webtools/tinderbox2/src/clientbin/build_redhat_initrc b/webtools/tinderbox2/src/clientbin/build_redhat_initrc index 973d1c0d504..d8c10a7d71d 100755 --- a/webtools/tinderbox2/src/clientbin/build_redhat_initrc +++ b/webtools/tinderbox2/src/clientbin/build_redhat_initrc @@ -16,7 +16,7 @@ LOCKFILE=/var/lock/subsys/build build_args="--daemonize --buildcf $BUILDCF" -build_args="$build_args --build construct -- --tree $TREE" +build_args="$build_args --build construct --tree $TREE" # Source function library. @@ -28,7 +28,7 @@ build_args="$build_args --build construct -- --tree $TREE" RETVAL=0 start () { - echo -n $"Starting Build: " + echo -n "Starting Build: " daemon --user build $BUILDSCRIPT $build_args RETVAL=$? echo @@ -36,14 +36,17 @@ start () { } test () { - # print out the build script for examination + # print out the build command and the build script for examination + echo + echo $BUILDSCRIPT --test $build_args + echo $BUILDSCRIPT --test $build_args RETVAL=$? echo } stop () { - echo -n $"Stopping Build: " + echo -n "Stopping Build: " killproc $BUILDSCRIPT RETVAL=$? echo @@ -80,7 +83,7 @@ case "$1" in status build ;; *) - echo $"Usage: build {start|stop|restart|reload|condrestart|status|test}" + echo "Usage: build {start|stop|restart|reload|condrestart|status|test}" exit 1 esac