git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
devtools: use a common prefix for temporary files
[dpdk.git]
/
devtools
/
checkpatches.sh
diff --git
a/devtools/checkpatches.sh
b/devtools/checkpatches.sh
index
dbed422
..
bf3114f
100755
(executable)
--- a/
devtools/checkpatches.sh
+++ b/
devtools/checkpatches.sh
@@
-90,11
+90,11
@@
check () { # <patch> <commit> <title>
if [ -n "$1" ] ; then
tmpinput=$1
elif [ -n "$2" ] ; then
if [ -n "$1" ] ; then
tmpinput=$1
elif [ -n "$2" ] ; then
- tmpinput=$(mktemp checkpatches.XXXXXX)
+ tmpinput=$(mktemp
-t dpdk.
checkpatches.XXXXXX)
git format-patch --find-renames \
--no-stat --stdout -1 $commit > "$tmpinput"
else
git format-patch --find-renames \
--no-stat --stdout -1 $commit > "$tmpinput"
else
- tmpinput=$(mktemp checkpatches.XXXXXX)
+ tmpinput=$(mktemp
-t dpdk.
checkpatches.XXXXXX)
cat > "$tmpinput"
fi
cat > "$tmpinput"
fi