File: setup.csh

package info (click to toggle)
ctn 3.2.0~dfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 16,924 kB
  • sloc: ansic: 179,652; makefile: 7,006; java: 1,863; csh: 1,067; yacc: 523; sh: 424; cpp: 394; sql: 389; lex: 170
file content (15 lines) | stat: -rw-r--r-- 406 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/csh

# Setup for runtime directory.  Make sure it exists.

if ($1 == "") then
  echo "You need to define the environment variable CTN_TARGET."
  echo "The default value is /opt/ctn, but you can use a different value."
  exit 1
endif

$DICOM_ROOT/apps/scripts/createdirectory $CTN_TARGET
if ($status != 0) exit 1

$DICOM_ROOT/apps/scripts/createdirectory $CTN_TARGET/runtime
if ($status != 0) exit 1