Skip to content

Commit

Permalink
Merge pull request #413 from amiaopensource/install-resources-via-pre…
Browse files Browse the repository at this point in the history
…fix.install

fix resource path for prefix installs
  • Loading branch information
dericed authored Jan 25, 2019
2 parents 1d45403 + 9d77a17 commit 1303fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vrecord
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ GTK_RECENT_DIR="${HOME}/.local/share"
unset VERSION
if [[ $(dirname "$(command -v "${0}")") = "/usr/local/bin" ]] ; then
VERSION=$(TMP=$(brew info vrecord | grep ".*\*$" | grep -Eo "/vrecord/.* \(") ; echo "${TMP:9:(${#TMP}-11)}")
RESOURCE_PATH="/usr/local/Cellar/vrecord/${VERSION}/Resources"
RESOURCE_PATH="$(brew --prefix vrecord)"
else
RESOURCE_PATH="${SCRIPTDIR}/Resources"
fi
Expand Down

0 comments on commit 1303fbf

Please sign in to comment.