From 1aae71a1c7365d56aa6b0549bde6e8af07513f5f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 14 Sep 2009 11:10:40 -0400 Subject: replace all uses of tempfile(1) with mktemp(1) in shell scripts --- plugins/repo/get.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/repo/get.sh') diff --git a/plugins/repo/get.sh b/plugins/repo/get.sh index 53894cf..583428a 100644 --- a/plugins/repo/get.sh +++ b/plugins/repo/get.sh @@ -23,7 +23,7 @@ source "$libexecdir/lib/stdio" # get ID [FILE] id="$1" -tmp=`tempfile` +tmp=`mktemp` "$RVS" get.f "$id" "$tmp" type="`sed -n 's/^type://p' "$tmp"`" file="${2-`sed -n 's/^name://p' "$tmp"`}" -- cgit v1.2.3-2-g168b