Catch missing environment variable

Issue #360 resolved
Gabrielle Allen created an issue

In following thornlist $ARR is not set and GetComponents does not catch this. It looks like libjpeg is checked out, but can't find it anywhere.

!CRL_VERSION = 1.0

!DESC "Demo Parameter File Using WaveToy Application With Cool Tools (Development)"

!DEFINE ROOT = Cactus

  1. Cactus Flesh !TARGET = $ROOT !TYPE = svn !AUTH_URL = https://svn.cactuscode.org/flesh/trunk !URL = http://svn.cactuscode.org/flesh/trunk !CHECKOUT = Cactus !NAME = .
  1. Cactus thorns !TARGET = Cactus/arrangements !TYPE = svn !AUTH_URL = https://svn.cactuscode.org/arrangements/$1/$2/trunk !URL = http://svn.cactuscode.org/arrangements/$1/$2/trunk !CHECKOUT = CactusBase/Boundary CactusBase/CoordBase CactusBase/CartGrid3D CactusBase/IOASCII CactusBase/IOUtil CactusBase/IOBasic CactusBase/LocalReduce CactusBase/SymBase CactusBase/Time CactusConnect/HTTPD CactusConnect/HTTPDExtra CactusConnect/Socket CactusPUGH/PUGH CactusPUGH/PUGHSlab CactusPUGH/PUGHReduce CactusPUGHIO/IsoSurfacer CactusIO/IOJpeg CactusWave/WaveToyC CactusWave/IDScalarWaveC CactusWave/WaveBinarySource
  1. Additional Cactus thorns !TARGET = $ARR !TYPE = svn !AUTH_URL = https://svn.cactuscode.org/projects/$1/$2/trunk !URL = http://svn.cactuscode.org/projects/$1/$2/trunk !CHECKOUT = ExternalLibraries/libjpeg

Keyword:

Comments (1)

  1. Eric Seidel
    • changed status to resolved
    • removed comment

    Ok I found the problem. GetComponents was checking \-escaped variables against ENV instead of regular, undefined variables. Your thornlist will error properly now :)

  2. Log in to comment