Skip to content

Commit 9e72f1b

Browse files
committed
Allow build.sh script to be ran from fcs folder
fixes #851
1 parent 37added commit 9e72f1b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fcs/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ then
44
# use .Net
55
cmd fcs/build.cmd $@
66
else
7-
cd fcs
7+
if [[ "$PWD" != *fcs ]]; then
8+
cd fcs
9+
fi
810

911
# use mono
1012
if [[ ! -e ~/.config/.mono/certs ]]; then

0 commit comments

Comments
 (0)