Skip to content

Commit

Permalink
Merge pull request #6 from nikolay/dev
Browse files Browse the repository at this point in the history
v0.1.7-beta
  • Loading branch information
nikolay committed Sep 7, 2014
2 parents f88f9af + 1b7614b commit c580fe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wshare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ assignment () {
do_install () {
mkdir -p "$(dirname "$WSHARE_BIN")"
rm -f "$WSHARE_BIN"
echo "${BASH_EXECUTION_STRING/$(assignment WSHARE_VERSION)/$(assignment WSHARE_VERSION "$(get_latest_version)")}" > "$WSHARE_BIN"
local self="${BASH_EXECUTION_STRING:-$(curl -sL git.io/wshare)}"
echo "${self/$(assignment WSHARE_VERSION)/$(assignment WSHARE_VERSION "$(get_latest_version)")}" > "$WSHARE_BIN"
chmod +x "$WSHARE_BIN"
}

Expand Down

0 comments on commit c580fe5

Please sign in to comment.