From 3fb6a1dfa6ac7840d4f742e3f73e195493294f1a Mon Sep 17 00:00:00 2001 From: 8ga Date: Fri, 10 Jan 2025 14:54:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20ubuntu-mvn.sh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ubuntu-mvn.sh | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ubuntu-mvn.sh b/ubuntu-mvn.sh index 6c9f50a..b06ab2d 100644 --- a/ubuntu-mvn.sh +++ b/ubuntu-mvn.sh @@ -2,7 +2,4 @@ cd /usr/local wget https://dlcdn.apache.org/maven/maven-3/3.9.6/binaries/apache-maven-3.9.6-bin.tar.gz tar -zvxf apache-maven-3.9.6-bin.tar.gz -echo "export MAVEN_HOME=/usr/local/apache-maven-3.9.6" | tee -a /etc/profile -echo "export PATH=${MAVEN_HOME}/bin:${PATH}" | tee -a /etc/profile -source /etc/profile -mvn -v \ No newline at end of file +bash mvn-home.sh \ No newline at end of file