diff options
author | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-02-18 21:32:21 -0500 |
---|---|---|
committer | Daniel Kahn Gillmor <dkg@fifthhorseman.net> | 2009-02-18 21:32:21 -0500 |
commit | e2b547631eae05103fe3219f4e2c7a4f618ef5d0 (patch) | |
tree | c829d34e9c7fe6ccc69fbe08bb0ca5436ede6288 /src/share/common | |
parent | 41b38ace2b23bebf61fbf63cda8d3be005d28385 (diff) | |
parent | 62374dd1c16a2719202955ad3fe878be5cc14dba (diff) |
Merge commit 'jrollins/master'
Diffstat (limited to 'src/share/common')
-rw-r--r-- | src/share/common | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/share/common b/src/share/common index 4120259..6b7d51b 100644 --- a/src/share/common +++ b/src/share/common @@ -134,6 +134,11 @@ cutline() { head --line="$1" "$2" | tail -1 } +# make a temporary directly +msmktempdir() { + mktemp -d ${TMPDIR:-/tmp}/tmp.XXXXXXXXXX +} + # this is a wrapper for doing lock functions. # # it lets us depend on either lockfile-progs (preferred) or procmail's |