Trisquel 9 doesn't have mvn-debian but has mvn instead.

Signed-off-by: Denis 'GNUtoo' Carikli <gnu...@cyberdimension.org>
---
 build-toolchain | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
-- 
2.32.0

_______________________________________________
Replicant mailing list
Replicant@osuosl.org
https://lists.osuosl.org/mailman/listinfo/replicant

Reply via email to