gana

GNUnet Assigned Numbers Authority
Log | Files | Refs | README | LICENSE

commit 3d5ebc3bf5b0a55a33fbba51c1087ecab68bb4e5
parent e2f247cf9364ea0d441ae4c7b2f0aaa427e03dae
Author: Thien-Thi Nguyen <ttn@gnu.org>
Date:   Wed, 30 Dec 2020 10:45:47 -0500

work around recutils problem wrt renaming /tmp/FOO to TARGET

- add explanatory comment
- set TMPDIR to current-working-directory
- export it

Diffstat:
Mhttp-status-codes/extend.sh | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/http-status-codes/extend.sh b/http-status-codes/extend.sh @@ -6,6 +6,12 @@ TARGET="$1" shift cat "$@" > ${TARGET} +# There is a problem w/ some versions of recutils that signals +# error on rename from /tmp/FOO in recset(1). Work around that +# by using current working directory as TMPDIR. +TMPDIR=`pwd` +export TMPDIR + for n in `seq 100 599` do VAL=`recsel -e "Value = $n" -P Description iana.tmp || true`