IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 14, 2007, 2:49:12 PM (19 years ago)
Author:
eugene
Message:

make dbname part of init arguments (not default simtest)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/simtest/sim.pro

    r11638 r11798  
    1515
    1616macro init
    17   exec pxadmin -delete -dbname simtest
    18   exec pxadmin -create -dbname simtest
     17  if ($0 != 2)
     18    echo "USAGE: init (database)"
     19    break
     20  end
     21  exec pxadmin -delete -dbname $1
     22  exec pxadmin -create -dbname $1
    1923  exec mkdir -p raw
    2024  exec mkdir -p proc
     
    2327  mkflats
    2428  mkobjects
    25   exec ipp_serial_inject.pl raw/*.fits --dbname simtest
     29  exec ipp_serial_inject.pl raw/*.fits --dbname $1
     30  list DB -add $1
    2631end
    2732
Note: See TracChangeset for help on using the changeset viewer.