Allow ../../do.sh build <program> (#576)
This commit is contained in:
parent
a7b121074d
commit
451452feac
5
do.sh
5
do.sh
|
@ -40,7 +40,12 @@ readCargoVariable() {
|
||||||
|
|
||||||
perform_action() {
|
perform_action() {
|
||||||
set -e
|
set -e
|
||||||
|
# Use relative path if arg starts with "."
|
||||||
|
if [[ $2 == .* ]]; then
|
||||||
projectDir="$CALLER_PWD"/$2
|
projectDir="$CALLER_PWD"/$2
|
||||||
|
else
|
||||||
|
projectDir="$PWD"/$2
|
||||||
|
fi
|
||||||
targetDir="$PWD"/target
|
targetDir="$PWD"/target
|
||||||
features=
|
features=
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue