File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
version=$1
11
11
12
- SOFTWARE_LAYER_TARBALL_URL =" https://github.com/EESSI/software-layer/tarball/${version} -software.eessi.io "
12
+ SOFTWARE_LAYER_SCRIPTS_TARBALL_URL =" https://github.com/EESSI/software-layer-scripts /tarball/main "
13
13
14
14
TOPDIR=$( dirname $( realpath $0 ) )
15
15
26
26
tartmp=$( mktemp -t -d init.XXXXX)
27
27
mkdir " ${tartmp} /${version} "
28
28
tarname=" eessi-${version} -init-$( date +%s) .tar.gz"
29
- curl -Ls ${SOFTWARE_LAYER_TARBALL_URL } | tar xzf - -C " ${tartmp} /${version} " --strip-components=1 --no-wildcards-match-slash --wildcards ' */init/'
29
+ curl -Ls ${SOFTWARE_LAYER_SCRIPTS_TARBALL_URL } | tar xzf - -C " ${tartmp} /${version} " --strip-components=1 --no-wildcards-match-slash --wildcards ' */init/'
30
30
source " ${tartmp} /${version} /init/minimal_eessi_env"
31
31
if [ " ${EESSI_VERSION} " != " ${version} " ]
32
32
then
@@ -42,7 +42,7 @@ echo_green "Done! Created tarball ${tarname}."
42
42
tartmp=$( mktemp -t -d scripts.XXXXX)
43
43
mkdir " ${tartmp} /${version} "
44
44
tarname=" eessi-${version} -scripts-$( date +%s) .tar.gz"
45
- curl -Ls ${SOFTWARE_LAYER_TARBALL_URL } | tar xzf - -C " ${tartmp} /${version} " --strip-components=1 --no-wildcards-match-slash --wildcards ' */scripts/'
45
+ curl -Ls ${SOFTWARE_LAYER_SCRIPTS_TARBALL_URL } | tar xzf - -C " ${tartmp} /${version} " --strip-components=1 --no-wildcards-match-slash --wildcards ' */scripts/'
46
46
tar czf " ${tarname} " -C " ${tartmp} " " ${version} "
47
47
rm -rf " ${tartmp} "
48
48
You can’t perform that action at this time.
0 commit comments