Permalink
Browse files

Armar start script has to throw an error if mcasetenv was not run.

  • Loading branch information...
1 parent 97e1a8d commit 4449af327e2e2c7c401e33718562ebec53ccfcc1 @naderman committed Aug 6, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/spoac-armar-start.sh
@@ -2,6 +2,11 @@
echo "Starting SPOAC services:"
+if [ -z "$MCAPROJECTHOME" ]; then
+ echo "Run mcasetenv first!"
+ exit 1
+fi
+
if [ -d $HOME/spoac/spoac-install ]; then
spoac_dir=$HOME/spoac
spoac_install_dir=$HOME/spoac/spoac-install

0 comments on commit 4449af3

Please sign in to comment.