Return to Snippet

Revision: 38658
at January 6, 2011 04:10 by yoblob


Initial Code
if [[ -n $RELEASE]]
then
   SVN_DIR=/release/$RELEASE
   if [ -d $SVN_DIR ]
   then
     echo "-------------------------------"
     echo "You have chosen to build with $SVN_DIR"
     echo "-------------------------------"
     /home/bin/BuildRelease.sh $SVN_DIR
   else
     echo "the $SVN_DIR does not exist
   fi
fi

Initial URL

                                

Initial Description
Check for empty variable.  proceed accordingly

Initial Title
check empty variable

Initial Tags
Bash

Initial Language
Bash