aboutsummaryrefslogtreecommitdiff
path: root/open-stdin
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano.tronto@gmail.com>2021-10-23 18:41:30 +0200
committerSebastiano Tronto <sebastiano.tronto@gmail.com>2021-10-23 18:41:30 +0200
commit84c26706d306f2b2b5f5534a91147df893be7854 (patch)
treeb63fdc2b8946afb748c4586cf3fc9fb96afa9dc3 /open-stdin
parent31cba7ef191e2a2a15ecca7132a445a92667fcbd (diff)
downloadscripts-84c26706d306f2b2b5f5534a91147df893be7854.tar.gz
scripts-84c26706d306f2b2b5f5534a91147df893be7854.zip
open-stdin default tmp folder changed to /tmp
Diffstat (limited to '')
-rwxr-xr-xopen-stdin3
1 files changed, 2 insertions, 1 deletions
diff --git a/open-stdin b/open-stdin
index 1cc54a5..48792b6 100755
--- a/open-stdin
+++ b/open-stdin
@@ -4,7 +4,8 @@
4# Usage: open-stdin 4# Usage: open-stdin
5# Requires: open-file 5# Requires: open-file
6 6
7folder=$HOME/Downloads/open-stdin 7#folder=$HOME/Downloads/open-stdin
8folder=${TMPDIR:-/tmp}
8 9
9tempfile=$(mktemp -p "$folder") 10tempfile=$(mktemp -p "$folder")
10 11

Generated with cgit - Back to sebastiano.tronto.net