From 848de1cd956ca8ecfdadfa7cf35f395b0eef95c4 Mon Sep 17 00:00:00 2001 From: Faustin Lammler Date: Wed, 10 Apr 2024 18:02:06 +0200 Subject: [PATCH] Fix AIX specific PATH --- script_templates/get_tarball.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/script_templates/get_tarball.sh b/script_templates/get_tarball.sh index f26cef63..a92e907f 100644 --- a/script_templates/get_tarball.sh +++ b/script_templates/get_tarball.sh @@ -86,5 +86,11 @@ else fi echo "extract $d/$tarball" -tar -xzf $d/$tarball --strip-components=1 +#//TEMP path on AIX are specific +os=$(uname -s) +if [[ $os == "AIX" ]]; then + tar -xzf $d/$tarball +else + tar -xzf $d/$tarball --strip-components=1 +fi echo "done"