From c374d57fd365833807c2e191178848d76828e859 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 24 Jul 2012 16:16:59 +0200 Subject: /tmp/ponythink instead of /tmp/.ponythink --- ponysay | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ponysay') 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 -- cgit