Skip to content

Commit

Permalink
fix install script
Browse files Browse the repository at this point in the history
  • Loading branch information
vibou committed Jan 9, 2023
1 parent eadef33 commit f0a1c63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions install-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ initCLIPath() {
suffix=".exe"
fi

GH_CLI_TMP="libs/${OS}-${ARCH}/github-${OS}-${ARCH}${suffix}"
GH_CLI_TMP="libs/${OS}-${ARCH}/github${suffix}"
echo "Init CLI Path for ${OS}-${ARCH} (${GH_CLI_TMP})"
}

Expand Down Expand Up @@ -86,9 +86,9 @@ checkGithubInstalledVersion() {
# installFile verifies the SHA256 for the file, then unpacks and
# installs it.
installFile() {
echo "Preparing to install $PROJECT_NAME into ${GH_CLI_INSTALL_DIR}"
echo "Preparing to install $PROJECT_NAME from ${GH_CLI_TMP} ${GH_CLI_INSTALL_DIR}"
chmod +x "${GH_CLI_TMP}"
runAsRoot cp "${GH_CLI_TMP}" "$GH_CLI_INSTALL_DIR"
runAsRoot cp "${GH_CLI_TMP}" "$GH_CLI_INSTALL_DIR/$PROJECT_NAME"
echo "$PROJECT_NAME installed into $GH_CLI_INSTALL_DIR/$PROJECT_NAME"
}

Expand Down

0 comments on commit f0a1c63

Please sign in to comment.