From a4433b2a37727f64a745668052214c05ea86217d Mon Sep 17 00:00:00 2001 From: Matt Nelson Date: Tue, 24 Jan 2023 14:20:06 -0600 Subject: [PATCH] Update installation to account for different archive directories between releases and snapshots --- bin/install | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bin/install b/bin/install index 6f67e4c..63b0cbc 100755 --- a/bin/install +++ b/bin/install @@ -40,11 +40,8 @@ build_copy_cleanup() { local origin=$(pwd) cd "$destdir"; { - tar xzvf $version.tar.gz + tar xzvf $version.tar.gz --strip 1 rm $version.tar.gz - - mv apache-maven-$version/* . - rmdir apache-maven-$version } cd $origin }