Name

ScratchDir — specify directory containing temporary files

SYNOPSIS

directory

DESCRIPTION

Specify the directory containing temporary, runtime files.

The kind of files Interchange drops to the ScratchDir directory include cached searches and retired session IDs.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Creating directory structure similar to a Linux filesystem

ScratchDir var/tmp

NOTES

The specified location is always treated relative to CATROOT.

AVAILABILITY

ScratchDir is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 583

['ScratchDir',       'relative_dir',     'tmp'],

Source: lib/Vend/Config.pm
Line 3975 (context shows lines 3975-3989)

sub parse_relative_dir {
my($var, $value) = @_;

if (absolute_or_relative($value)) {
  config_error('Path %s not allowed in %s directive',
          $value, $var);
}

$C->{Source}{$var} = $value;

$value = "$C->{VendRoot}/$value"
  unless file_name_is_absolute($value);
$value =~ s./+$..;
$value;
}

AUTHORS

Interchange Development Group

SEE ALSO

ProductDir(7ic), PageDir(7ic), RunDir(7ic)

DocBook! Interchange!