Skip to content

Commit

Permalink
support custom location specified by HOMEBREW_PREFIX
Browse files Browse the repository at this point in the history
  • Loading branch information
laggardkernel committed Sep 3, 2019
1 parent 25adebf commit 1eae347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/iterm2-zmodem-recv
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ if [[ -z "$FILE" ]]; then
echo " # Cancelled transfer"
else
cd "$FILE"
/usr/local/bin/rz -E -e -b
"${HOMEBREW_PREFIX:-/usr/local}/bin/rz" -E -e -b
sleep 1
echo
echo " # Sent -> $FILE"
Expand Down
2 changes: 1 addition & 1 deletion bin/iterm2-zmodem-send
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if [[ -z "$FILE" ]]; then
echo
echo " # Cancelled transfer"
else
/usr/local/bin/sz "$FILE" -e -b
"${HOMEBREW_PREFIX:-/usr/local}/bin/sz" "$FILE" -e -b
sleep 1
echo
echo " # Received $FILE"
Expand Down

0 comments on commit 1eae347

Please sign in to comment.