esac
cd ..
done
-assign toppath $(pwd)
+toppath=$(pwd)
## Build any necessary qualifiers.
qual= sep=.
esac
## Construct the output directory.
-assign releasepath $toppath/dist-$build$qual
+releasepath=$toppath/dist-$build$qual
chmod -R +w $releasepath 2>/dev/null || :
rm -rf $releasepath 2>/dev/null || :
mkdir $releasepath
;;
esac
+## Repeat the earlier assignments for tbe benefit of the logfile.
+assign toppath $toppath
+assign releasepath $releasepath
+
## Do we have a Git repository?
case "$checkout,$setup,$(yesno [ -d $toppath/.git ])" in
yes,no,*)