'--tmpdir' is not supported by older mktemp, and runltp encounters error: mktemp: invalid option -- - Usage: mktemp [-V] | [-dqtu] [-p prefix] [template]
Signed-off-by: Simon Xu <[email protected]> --- runltp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runltp b/runltp index 0d77a6e..f94f1f8 100755 --- a/runltp +++ b/runltp @@ -693,7 +693,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.7.11.4 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
