[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Make check_jni_methods.sh more portable
From: |
Mark Wielaard |
Subject: |
[cp-patches] FYI: Make check_jni_methods.sh more portable |
Date: |
Mon, 17 Jan 2005 22:51:06 +0100 |
Hi,
As pointed out and discussed with the CACAO hackers and Michael this
patch makes check_jni_methods.sh more portable to other platforms where
there is no mktemp command.
2005-01-17 Mark Wielaard <address@hidden>
* scripts/check_jni_methods.sh: Don't use mktemp for TMPFILEs.
Committed,
Mark
diff -u -r1.4 check_jni_methods.sh
--- scripts/check_jni_methods.sh 13 Jan 2005 11:25:56 -0000 1.4
+++ scripts/check_jni_methods.sh 17 Jan 2005 21:47:02 -0000
@@ -1,9 +1,8 @@
#!/bin/sh
-pattern=/tmp/check-jni-methods.XXXXXX
-TMPFILE=`mktemp $pattern` || { echo >&2 "$0: Unable to make temp file;
aborting" ; exit 3; }
-TMPFILE2=`mktemp $pattern` || { echo >&2 "$0: Unable to make temp file;
aborting" ; exit 3; }
-TMPFILE3=`mktemp $pattern` || { echo >&2 "$0: Unable to make temp file;
aborting" ; exit 3; }
+TMPFILE=check-jni-methods.$$.1
+TMPFILE2=check-jni-methods.$$.2
+TMPFILE3=check-jni-methods.$$.3
# Find all methods defined in the header files generated
# from the java source files.
signature.asc
Description: This is a digitally signed message part
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Make check_jni_methods.sh more portable,
Mark Wielaard <=