Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/wayfaringrob/resty into w…
Browse files Browse the repository at this point in the history
…ayfaringrob-master
  • Loading branch information
micha committed Feb 6, 2011
2 parents 308c1a8 + a072309 commit 1596f08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resty
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function resty() {
HEAD|OPTIONS|GET|DELETE|POST|PUT|TRACE)
dat=$( ( [ "$hasdata" = "yes" ] \
&& ( ( [ -n "$1" ] && [ "${1#-}" = "$1" ] && echo "$1") \
|| echo "@-") ) || echo)
|| [ ! -t 0 ] && echo "@-") ) || echo)
if [ "$hasdata" = "yes" ] && [ "$vimedit" = "yes" ]; then
tmpf=$(mktemp /tmp/resty.XXXXXX)
[ -t 0 ] || cat > $tmpf
Expand Down

0 comments on commit 1596f08

Please sign in to comment.