TABLE OF CONTENTS


::pwtk::outdir

SYNOPSIS

proc ::pwtk::outdir {{outdir ""}} {

PURPOSE

Set (or query) the pw.x's outdir directory

NOTES

Developer's note: the proc sets the value of the QEdir(ESPRESSO_TMPDIR) variable if $outdir != {}.

RETURN VALUE

The value of the outdir.

SOURCE

    variable QEdir
    
    if { $outdir == "" } {
        return [outdir_query]
    }
    
    set QEdir(ESPRESSO_TMPDIR) $outdir
    return $QEdir(ESPRESSO_TMPDIR)
}