projects
/
pgtranslation
/
admin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80ff9e
)
More portable use of mktemp
author
Peter Eisentraut
<peter_e@gmx.net>
Mon, 19 Jan 2009 15:44:00 +0000
(15:44 +0000)
committer
Peter Eisentraut
<peter_e@gmx.net>
Mon, 19 Jan 2009 15:44:00 +0000
(15:44 +0000)
wwwtools/update-nls-www
patch
|
blob
|
blame
|
history
diff --git
a/wwwtools/update-nls-www
b/wwwtools/update-nls-www
index a68ba9662354e1534ad337fac29d51232e74af20..b00a672c5d63fdbfbf86c10a28150016014d41f7 100755
(executable)
--- a/
wwwtools/update-nls-www
+++ b/
wwwtools/update-nls-www
@@
-6,6
+6,8
@@
echo "NLS update starts"
echo "================="
date -u
+me=$(basename $0)
+
set -ex
MYDIR=$(cd $(dirname $0) && pwd)
@@
-29,7
+31,7
@@
trap 'rm -f $tmp $lock' EXIT ERR SIGHUP SIGINT SIGPIPE SIGTERM
touch "$lock"
for branch in $active_branches; do
- tmp=`mktemp`
+ tmp=`mktemp
/tmp/$me.XXXXXX
`
PGSRC=$CVSDIR/postgresql-$branch