Skip to content

Commit

Permalink
source the readlinkdashf irrespective of CWD
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshba committed Dec 4, 2018
1 parent 577092c commit aecdb10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

set -e
source scripts/readlinkdashf.sh
source $(dirname $0)/scripts/readlinkdashf.sh

BASEDIR=$(readlinkdashf $(dirname $0))
BINDIR=${BASEDIR}/bin
Expand Down
2 changes: 1 addition & 1 deletion scripts/gen_commands_doc.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

set -e
source readlinkdashf.sh
source $(dirname $0)/readlinkdashf.sh

BASEDIR=$(readlinkdashf $(dirname $0)/..)

Expand Down
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#
set -e

source scripts/readlinkdashf.sh
source $(dirname $0)/scripts/readlinkdashf.sh
BASEDIR=$(readlinkdashf $(dirname $0))
BINDIR=${BASEDIR}/bin

Expand Down

0 comments on commit aecdb10

Please sign in to comment.