aboutsummaryrefslogtreecommitdiff
path: root/ponysay
diff options
context:
space:
mode:
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