Fixing update version script for BSD mktemp