This is an automated email from the ASF dual-hosted git repository.
rabbah pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-release.git
The following commit(s) were added to refs/heads/master by this push:
new a47ff78 update Apache 2.0 license URL to https (#383)
a47ff78 is described below
commit a47ff78da2725ad6d8eb6de35ee7d21869908dd0
Author: David Grove <[email protected]>
AuthorDate: Sun Apr 11 15:15:51 2021 -0400
update Apache 2.0 license URL to https (#383)
Fetching the license with http instead of https now returns
a 301 response. Adjust rcverify to compensate.
---
tools/rcverify.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/rcverify.sh b/tools/rcverify.sh
index 313095d..4aa423a 100755
--- a/tools/rcverify.sh
+++ b/tools/rcverify.sh
@@ -200,7 +200,7 @@ if [ $DL -ne 0 ]; then
statusok $? "$RESULT"
printf "fetching apache license..."
- RESULT=$($CURL http://www.apache.org/licenses/LICENSE-2.0 -o
"$DIR/LICENSE-2.0" 2>&1)
+ RESULT=$($CURL https://www.apache.org/licenses/LICENSE-2.0 -o
"$DIR/LICENSE-2.0" 2>&1)
statusok $? "$RESULT"
else
echo copying from $LOCAL_DIR
@@ -209,7 +209,7 @@ else
cp "$LOCAL_DIR/$TGZ.sha512" "$DIR/$TGZ.sha512" || exit 1
printf "fetching apache license..."
- RESULT=$($CURL http://www.apache.org/licenses/LICENSE-2.0 -o
"$DIR/LICENSE-2.0" 2>&1)
+ RESULT=$($CURL https://www.apache.org/licenses/LICENSE-2.0 -o
"$DIR/LICENSE-2.0" 2>&1)
statusok $? "$RESULT"
fi