#  Sed script to adapt init.sh and init.cfg in ./tests.

/^ME_=/ i\
export PATH_SEPARATOR=${PATH_SEPARATOR=:}

# Do not clobber the TMPDIR.
/d=/ s/unset TMPDIR;/& unset TMP; unset TEMP;/

/PATH=/  s/:/${PATH_SEPARATOR}/

/drwx------/ s/;;/;; ----d-*) ;;/
