TABLE OF CONTENTS


::pwtk::outdir_prefix_append

SYNOPSIS

proc ::pwtk::outdir_prefix_append {dir} {

PURPOSE

Append the specified directory to outdir_prefix. For the explanation of outdir_prefix, see ::pwtk::outdir_prefix

IMPORTANT

To make ::pwtk::outdir_prefix_append effective, ::pwtk::outdir_postfix must be called in set mode after ::pwtk::outdir_prefix_append

RETURN VALUE

The value of the outdir_prefix.

SOURCE

    variable QEdir

    if { [varvalue QEdir(outdirPrefix)] == {} } {
        set QEdir(outdirPrefix) $dir
    } else {
        set QEdir(outdirPrefix) [file join $QEdir(outdirPrefix) $dir]
    }
    return $QEdir(outdirPrefix)
}