From: Geoffrey Thomas Date: Mon, 30 Nov 2009 00:09:52 +0000 (-0500) Subject: git-rcsimport: Fix a typo with the use of mktemp. X-Git-Url: https://sipb.mit.edu/gitweb.cgi/snippets/.git/commitdiff_plain/6f071c25a343fbae7fb97b8e6c0c119f9677d762 git-rcsimport: Fix a typo with the use of mktemp. Reported-by: Karl Ramm Signed-off-by: Geoffrey Thomas --- diff --git a/git-rcsimport b/git-rcsimport index b6f977e..4b06a00 100755 --- a/git-rcsimport +++ b/git-rcsimport @@ -12,7 +12,7 @@ if [ ! -d "$dir/RCS" ]; then exit 1 fi -tmpdir=`mktemp -d -t git-rcsimport` +tmpdir=`mktemp -d -t git-rcsimport-XXXXXXXXXX` mkdir "$tmpdir/CVSROOT" "$tmpdir/locks" "$tmpdir/rcs" echo "LockDir=$tmpdir/locks" > "$tmpdir/CVSROOT/config" absdir=`cd "$dir"; pwd`