aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-07-24 16:16:59 +0200
committerMattias Andrée <maandree@operamail.com>2012-07-24 16:16:59 +0200
commitc374d57fd365833807c2e191178848d76828e859 (patch)
tree780ff7143837a14628dc72751ddf0ab477f2a7a6 /ponysay
parent110c73186be52189a293c0adda10e7874d143c0b (diff)
downloadponysay-c374d57fd365833807c2e191178848d76828e859.tar.gz
ponysay-c374d57fd365833807c2e191178848d76828e859.tar.bz2
ponysay-c374d57fd365833807c2e191178848d76828e859.zip
/tmp/ponythink instead of /tmp/.ponythink
Diffstat (limited to 'ponysay')
-rwxr-xr-xponysay6
1 files changed, 3 insertions, 3 deletions
diff --git a/ponysay b/ponysay
index 76bc94f..0fdcb18 100755
--- a/ponysay
+++ b/ponysay
@@ -173,9 +173,9 @@ say() {
ccmd=$(for c in $(echo $PATH":" | sed -e 's/:/\/'"$cmd"' /g'); do if [[ -f $c ]]; then echo $c; break; fi done)
if [[ ${0} == *ponythink ]]; then
- cat <(echo -e $pcmd) $ccmd > "/tmp/.ponythink"
- perl '/tmp/.ponythink' "$@"
- rm '/tmp/.ponythink'
+ cat <(echo -e $pcmd) $ccmd > "/tmp/ponythink"
+ perl '/tmp/ponythink' "$@"
+ rm '/tmp/ponythink'
else
perl <(cat <(echo -e $pcmd) $ccmd) "$@"
fi