Skip to content
Snippets Groups Projects
Commit 29a7c18c authored by Arno Schoenmakers's avatar Arno Schoenmakers
Browse files

Bug 1642: Minor changes

parent 603f03b3
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
# #
# load_components : loads all components in an OTDB database # loadComponents : loads all components in an OTDB database
# #
# Copyright (C) 2006-2011 # Copyright (C) 2006-2011
# ASTRON (Netherlands Foundation for Research in Astronomy) # ASTRON (Netherlands Foundation for Research in Astronomy)
...@@ -34,7 +34,7 @@ SyntaxError() ...@@ -34,7 +34,7 @@ SyntaxError()
[ -z "${Msg}" ] || echo "ERROR: ${Msg}" [ -z "${Msg}" ] || echo "ERROR: ${Msg}"
echo "" echo ""
echo "Syntax: $(basename $0) [-D databasename] [-v versionnr] [-q qualifier]" echo "Syntax: $(basename $0) -D databasename [-v versionnr] [-q qualifier]"
echo " [-H hostname] [-d directory]" echo " [-H hostname] [-d directory]"
echo " - databasename for loading components into []" echo " - databasename for loading components into []"
echo " - versionnumber is svn revision number (max 6 digits) [Current]" echo " - versionnumber is svn revision number (max 6 digits) [Current]"
......
...@@ -88,7 +88,7 @@ if [[ -e $DIR/PVSS2SAS ]] && [[ -e $DIR/load_PICtree ]]; then ...@@ -88,7 +88,7 @@ if [[ -e $DIR/PVSS2SAS ]] && [[ -e $DIR/load_PICtree ]]; then
arguments=$arguments" "$HOST arguments=$arguments" "$HOST
echo "Executing: $DIR/load_PICtree $arguments ${RESULTFILE} 2>&1 | tee loadPICtree.log" echo "Executing: $DIR/load_PICtree $arguments ${RESULTFILE} 2>&1 | tee loadPICtree.log"
$DIR/load_PICtree $arguments ${RESULTFILE} 2>&1 | tee loadPICtree.log $DIR/load_PICtree $arguments ${RESULTFILE} 2>&1 | tee loadPICtree.log
echo "Done" echo "Done; Logfile is loadPICtree.log"
else else
echo "Cannot find or execute $DIR/PVSS2SAS or $DIR/load_PICtree" echo "Cannot find or execute $DIR/PVSS2SAS or $DIR/load_PICtree"
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment