diff options
author | Frans Pop <elendil@planet.nl> | 2008-12-02 13:52:14 +0000 |
---|---|---|
committer | Frans Pop <elendil@planet.nl> | 2008-12-02 13:52:14 +0000 |
commit | cecae8f3939aa56eeb6a430f69c973d4d834984e (patch) | |
tree | a78666bd9ca65d6b391a00ebd7293e164363ee7c /scripts | |
parent | f00c2e54eb054a12f08bcfdc6265143a2d15049f (diff) | |
download | installation-guide-cecae8f3939aa56eeb6a430f69c973d4d834984e.zip |
Use mktemp instead of tempfile
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/po-check-preseed | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/po-check-preseed b/scripts/po-check-preseed index eb9fc9c59..b5523bfbe 100755 --- a/scripts/po-check-preseed +++ b/scripts/po-check-preseed @@ -15,8 +15,8 @@ echo "original and translation for a visual check." echo echo -tmp_msgid=$(tempfile -p preseed_msgid.) -tmp_msgstr=$(tempfile -p preseed_msgstr.) +tmp_msgid=$(mktemp -p /tmp preseed_msgid.XXXXXX) +tmp_msgstr=$(mktemp -p /tmp preseed_msgstr.XXXXXX) sed -n "/^msgid/,/^msgstr/ p" preseed.po | grep -v msgstr | \ grep "^\"#\?d-i " >$tmp_msgid |