In a5cfe9c9a8dbcc094b0c5043b21fa6cde7fc42e5 the use of mktemp was
introduces. Some versions of mktemp seem to require a template of at
least 6 Xs.

Signed-off-by: Henning Schild <[email protected]>
---
 scripts/prepare-kernel.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/prepare-kernel.sh b/scripts/prepare-kernel.sh
index 333d11c..b75acf9 100755
--- a/scripts/prepare-kernel.sh
+++ b/scripts/prepare-kernel.sh
@@ -238,7 +238,7 @@ fi
 # Create an empty output patch file, and initialize the temporary tree.
 if test "x$output_patch" != "x"; then
 
-    temp_tree=`mktemp -d prepare-kernel-XXX --tmpdir`
+    temp_tree=`mktemp -d prepare-kernel-XXXXXX --tmpdir`
     if [ $? -ne 0 ]; then
        echo Temporary directory could not be created.
        exit 1
-- 
2.4.10


_______________________________________________
Xenomai mailing list
[email protected]
http://xenomai.org/mailman/listinfo/xenomai

Reply via email to