Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Commit 2054f01

Browse files
committed
[Bam] Fixes #281. Improve the error message when mono is not detected.
1 parent a1bbedc commit 2054f01

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Bam/bam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ exec $curPath/bam.exe $@
88

99
else
1010

11+
# check that Mono is installed
12+
which mono >> /dev/null || { echo "Mono not installed"; exit 1; }
13+
1114
# save the original (quoted) args
1215
args=$@
1316

@@ -40,7 +43,6 @@ then
4043
fi
4144
fi
4245

43-
#echo mono $monoargs $curPath/bam.exe $args
4446
exec mono $monoargs $curPath/bam.exe $args
4547

4648
fi

Changelog.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
25-Mar-2016 Fixes #281. Improve the error message when mono is not detected.
2+
13
21-Mar-2017 Fixes #304. MingwCommon.IArchiverSettings and GccCommon.IArchiverSettings have been renamed, for consistency, to MingwCommon.ICommonArchiverSettings and GccCommon.ICommonArchiverSettings. IMPORTANT: If user packages are referencing those old interface names, this is a breaking change, and requires script updates.
24

35
21-Mar-2017 Fixes #307. C source container indexing can now accept a path, using forward slashes to separate directories, to pattern match files in the container. Previously, this did not work on Windows, due to the comparison of forward slashes with back slashes. Using forward slashes is the BAM cross-platform convention.

0 commit comments

Comments
 (0)