Skip to content

Commit

Permalink
Merge pull request #160 (show the installed version only)
Browse files Browse the repository at this point in the history
  • Loading branch information
retokromer authored Jan 13, 2018
2 parents 1250bb0 + 8d1f70a commit 6b5e4d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion writelto
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ LTO_LOGS="${LTO_INDEX_DIR}"

unset VERSION
if [[ $(dirname $(which "${0}")) = "/usr/local/bin" || $(dirname $(which "${0}")) = "${HOME}/.linuxbrew/bin" ]] ; then
VERSION=$(TMP=$(brew info ltopers | grep -Eo "/ltopers/.* \(") ; echo ${TMP:9:(${#TMP}-11)})
VERSION=$(TMP=$(brew info ltopers | grep ".*\*$" | grep -Eo "/ltopers/.* \(") ; echo ${TMP:9:(${#TMP}-11)})
fi

# no .DS_Store onto external storage
Expand Down

0 comments on commit 6b5e4d5

Please sign in to comment.