Skip to content

Commit

Permalink
Issue #58: log args along with script name [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehenrich committed Mar 20, 2015
1 parent bd982ea commit 6be949f
Show file tree
Hide file tree
Showing 26 changed files with 27 additions and 26 deletions.
2 changes: 1 addition & 1 deletion bin/backup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/createStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/createTodeImage
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/createTodeProjectStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/createTodeStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/gs/stopGemstone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit GemStone script: $(basename $0)"
echo " GsDevKit GemStone script: $(basename $0) $*"
echo "================="

if [ -s $GEMSTONE/seaside/etc/gemstone.secret ]; then
Expand Down
2 changes: 1 addition & 1 deletion bin/installClient
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/installGci
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/installGemStone
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

# help function
Expand Down
2 changes: 1 addition & 1 deletion bin/installPharo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/installServer
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/installTodeProjectStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/installTodeStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/osPrereqs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

set -e # exit on error
Expand Down
2 changes: 1 addition & 1 deletion bin/performTodeCommand
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/pharo
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/restoreFromBackup
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/startNetldi
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/startStatmonitor
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/startStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/stoneExtent
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/stones
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/stopStone
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/tode
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down
3 changes: 2 additions & 1 deletion bin/todeClient
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo " Pharo STDOUT routed to: $GS_HOME/pharo/logs/todeClient${postFix}.log"
echo "================="

usage() {
Expand Down
2 changes: 1 addition & 1 deletion bin/updateTodeImage
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#=========================================================================

echo "================="
echo " GsDevKit script: $(basename $0)"
echo " GsDevKit script: $(basename $0) $*"
echo "================="

usage() {
Expand Down

0 comments on commit 6be949f

Please sign in to comment.