Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

main docs dir relative to 'mad' binary

  • Loading branch information...
commit 0e37ead8d18dcd5c2e065b955fe5734c08739bdd 1 parent 689f247
@tnovelli tnovelli authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/mad
View
4 bin/mad
@@ -13,7 +13,7 @@ MAD_CONFIG=${MAD_CONFIG:-$CONFIG}
display() {
IFS=":"
local page=$1
- local paths=".:$MAD_PATH:/usr/local/share/mad:/usr/share/mad"
+ local paths=".:$MAD_PATH:$(dirname $0)/../share/mad:/usr/share/mad"
for path in $paths; do
local file=$path/$page
@@ -76,7 +76,7 @@ display_mad_usage() {
#
install_all_remote() {
- local path=${MAD_PATH:-/usr/local/share/mad}
+ local path=$(dirname $0)/../share/mad
echo
echo " ... cloning repo"
cd /tmp && rm -fr mad-pages
Please sign in to comment.
Something went wrong with that request. Please try again.