Ticket #916: 0ad_whitespaces_not_allowed.diff

File 0ad_whitespaces_not_allowed.diff, 573 bytes (added by philip_flohr, 12 years ago)
  • update-workspaces.sh

     
    4646fi
    4747
    4848
     49#Checking for whitespaces on abolute path
     50SCRIPT=$(readlink -f "$0")
     51SCRIPTPATH=`dirname "$SCRIPT"`
     52
     53case "$SCRIPTPATH" in 
     54     *\ * )
     55           #path contains at least one whitespace
     56           die "absolute path contains whitespaces"
     57          ;;
     58esac
     59
    4960cd "$(dirname $0)"
    5061# Now in build/workspaces/ (where we assume this script resides)