Skip to content

Commit

Permalink
Allow ../../do.sh build <program> (solana-labs#576)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Oct 8, 2020
1 parent a7b1210 commit 451452f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion do.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ readCargoVariable() {

perform_action() {
set -e
projectDir="$CALLER_PWD"/$2
# Use relative path if arg starts with "."
if [[ $2 == .* ]]; then
projectDir="$CALLER_PWD"/$2
else
projectDir="$PWD"/$2
fi
targetDir="$PWD"/target
features=

Expand Down

0 comments on commit 451452f

Please sign in to comment.