File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed
Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ gencont_bat_url=$scriptdlroot/_gencontinuous.bat
1212gencont_sh_url=$scriptdlroot /_gencontinuous.sh
1313gen_sh_url=$scriptdlroot /_genonce.sh
1414update_sh_url=$scriptdlroot /_updatePublisher.sh
15+ build_sh_url=$scriptdlroot /_build.sh
16+ build_bat_url=$scriptdlroot /_build.bat
1517
1618skipPrompts=false
1719FORCE=false
@@ -101,7 +103,17 @@ if [[ $skipPrompts != true ]]; then
101103fi
102104
103105if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].* $ ]]; then
104- echo " Downloading most recent scripts"
106+ echo " Downloading most recent scripts:"
107+
108+ curl -L $build_bat_url -o /tmp/_build.new
109+ cp /tmp/_build.new _build.bat
110+ rm /tmp/_build.new
111+
112+
113+ curl -L $build_sh_url -o /tmp/_build.new
114+ cp /tmp/_build.new _build.sh
115+ chmod +x _build.sh
116+ rm /tmp/_build.new
105117
106118 curl -L $update_bat_url -o /tmp/_updatePublisher.new
107119 cp /tmp/_updatePublisher.new _updatePublisher.bat
@@ -121,10 +133,6 @@ if [[ $skipPrompts == true ]] || [[ $response =~ ^[yY].*$ ]]; then
121133 rm /tmp/_gencontinuous.new
122134
123135 curl -L $gen_sh_url -o /tmp/_genonce.new
124- if [ $? -ne 0 ]; then
125- echo " Fehler beim Herunterladen von $gen_sh_url "
126- exit 1
127- fi
128136 cp /tmp/_genonce.new _genonce.sh
129137 chmod +x _genonce.sh
130138 rm /tmp/_genonce.new
You can’t perform that action at this time.
0 commit comments