Project

General

Profile

Cleanup #14277

mktemp --directory does not work under FreeBSD

Added by Willem Jan Withagen over 3 years ago. Updated about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
01/07/2016
Due date:
% Done:

0%

Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

../ceph-erasure-code-corpus/v0.92-988/non-regression.sh lives in a different repo.
So verytime I cleanup, I have to start patching this snippet.

index 4cc4331..9627255 100755
--- a/v0.92-988/non-regression.sh
+++ b/v0.92-988/non-regression.sh
@ -22,7 +22,7 @
: ${JERASURE_VARIANTS:=generic sse3 sse4}
: ${MYDIR:=--base $(dirname $0)}

-TMP=$(mktemp --directory)
+TMP=$(mktemp -d)
trap "rm -fr $TMP" EXIT

function non_regression() {

History

#1 Updated by Loic Dachary about 3 years ago

  • Assignee deleted (Loic Dachary)

Also available in: Atom PDF