Lion, TMPDIR is defined by default and it has a slash at the end. How gratuitious and annoying. tmpdir=`echo $tmpdir | sed 's/\/\//\//g'` Thanks. I made an equivalent change and pushed it out. Best, Karl