File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ operator may still consider to verify the following manually
74743. Other concerns if any
7575__EOF
7676
77+ [[ " ${SOURCE_URL} " != * / ]] && SOURCE_URL=" ${SOURCE_URL} /"
7778HBASE_RC_VERSION=$( tr " /" " \n" <<< " ${SOURCE_URL}" | tail -n2)
7879HBASE_VERSION=$( echo " ${HBASE_RC_VERSION} " | sed -e ' s/RC[0-9]//g' | sed -e ' s/hbase-//g' )
7980JAVA_VERSION=$( java -version 2>&1 | cut -f3 -d' ' | head -n1 | sed -e ' s/"//g' )
@@ -106,7 +107,7 @@ function download_and_import_keys() {
106107
107108function download_release_candidate () {
108109 # get all files from release candidate repo
109- wget --recursive --no-parent " ${SOURCE_URL} "
110+ wget -r -np -nH --cut-dirs 4 " ${SOURCE_URL} "
110111}
111112
112113function verify_signatures() {
@@ -169,7 +170,7 @@ __EOF
169170
170171download_and_import_keys
171172download_release_candidate
172- pushd dist.apache.org/repos/dist/dev/hbase/ " ${HBASE_RC_VERSION} "
173+ pushd " ${HBASE_RC_VERSION} "
173174
174175execute verify_signatures
175176execute verify_checksums
You can’t perform that action at this time.
0 commit comments