diff options
author | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-07-19 01:13:00 +0200 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2021-08-10 01:46:36 +0200 |
commit | bfe859b89594264b59bdceb3e7cc3b724e68d8f2 (patch) | |
tree | f5ffca6fb69df4ad934f70522f79470117462e9b | |
parent | 25f51c7f983266f3062ea0dba72ee7f6895163c0 (diff) | |
download | vendor_replicant-replicant-6.0.tar.gz vendor_replicant-replicant-6.0.tar.bz2 vendor_replicant-replicant-6.0.zip |
Add support for distributions without mvn-debianHEADreplicant-6.0
Trisquel 9 doesn't have mvn-debian but has mvn instead.
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
-rwxr-xr-x | build-toolchain | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build-toolchain b/build-toolchain index 3c8f94b2..1bca51a9 100755 --- a/build-toolchain +++ b/build-toolchain @@ -164,7 +164,9 @@ fi # first the simple lib cd ../../src/jack/simple -mvn-debian clean package -Dmaven.test.skip=true +# Try to use mvn-debian and if it's not available, try to use mvn +$(basename $(which mvn-debian || which mvn)) \ + clean package -Dmaven.test.skip=true cd .. # then jack |