From 08de712ef1ada48353c2c0b782e2089a3fdb7263 Mon Sep 17 00:00:00 2001 From: Lina Zhao Date: Mon, 13 Sep 2010 15:59:55 +0800 Subject: [PATCH] mktemp version issue in runltp --tmpdir is a invalid option for mktemp version 1.5, which is used widely. mktemp with no special directory argument works well. Signed-off-by: Lina Zhao < lina.zhao@windriver.com > --- runltp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/runltp b/runltp index b385984..04c16af 100755 --- a/runltp +++ b/runltp @@ -716,7 +716,7 @@ main() fi if [ -n "$DEVICE" ]; then - mnt_pnt=`mktemp -d --tmpdir=${TMP} mnt_pnt.XXXXXX` + mnt_pnt=`mktemp -d $TMP/mnt_pnt.XXXXXX` if [ -n "$DEVICE_FS_TYPE" ]; then mount -t $DEVICE_FS_TYPE $DEVICE $mnt_pnt else -- 1.6.3.1