git-rcsimport: Fix a typo with the use of mktemp.
authorGeoffrey Thomas <geofft@mit.edu>
Mon, 30 Nov 2009 00:09:52 +0000 (19:09 -0500)
committerGeoffrey Thomas <geofft@mit.edu>
Mon, 30 Nov 2009 00:09:52 +0000 (19:09 -0500)
Reported-by: Karl Ramm <kcr@mit.edu>
Signed-off-by: Geoffrey Thomas <geofft@mit.edu>
git-rcsimport

index b6f977e1677284124a90d70f7fce78920d128747..4b06a008c690ee9ab476f315a6b4ec49d650f5fa 100755 (executable)
@@ -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`