File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ initCLIPath() {
3838 suffix=" .exe"
3939 fi
4040
41- GH_CLI_TMP=" libs/${OS} -${ARCH} /github- ${OS} - ${ARCH} ${suffix}"
41+ GH_CLI_TMP=" libs/${OS} -${ARCH} /github${suffix} "
4242 echo " Init CLI Path for ${OS} -${ARCH} (${GH_CLI_TMP} )"
4343}
4444
@@ -86,9 +86,9 @@ checkGithubInstalledVersion() {
8686# installFile verifies the SHA256 for the file, then unpacks and
8787# installs it.
8888installFile () {
89- echo " Preparing to install $PROJECT_NAME into ${GH_CLI_INSTALL_DIR} "
89+ echo " Preparing to install $PROJECT_NAME from ${GH_CLI_TMP} ${GH_CLI_INSTALL_DIR} "
9090 chmod +x " ${GH_CLI_TMP} "
91- runAsRoot cp " ${GH_CLI_TMP} " " $GH_CLI_INSTALL_DIR "
91+ runAsRoot cp " ${GH_CLI_TMP} " " $GH_CLI_INSTALL_DIR / $PROJECT_NAME "
9292 echo " $PROJECT_NAME installed into $GH_CLI_INSTALL_DIR /$PROJECT_NAME "
9393}
9494
You can’t perform that action at this time.
0 commit comments