File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,8 +32,14 @@ initOS() {
3232
3333# initOS discovers the operating system for this system.
3434initCLIPath () {
35- suffix=$( [ " ${OS} " = " windows" ] && echo " .exe" )
36- GH_CLI_TMP=" libs/${OS} -${ARCH} /github-${OS} -${arch}${suffix} "
35+ suffix=" "
36+
37+ if [ " ${OS} " = " windows" ]; then
38+ suffix=" .exe"
39+ fi
40+
41+ GH_CLI_TMP=" libs/${OS} -${ARCH} /github-${OS} -${ARCH}${suffix} "
42+ echo " Init CLI Path for ${OS} -${ARCH} (${GH_CLI_TMP} )"
3743}
3844
3945# runs the given command as root (detects if we are root already)
@@ -50,7 +56,7 @@ runAsRoot() {
5056# verifySupported checks that the os/arch combination is supported for
5157# binary builds.
5258verifySupported () {
53-
59+ echo " check support ${GH_CLI_TMP} "
5460 if [ ! -f " ${GH_CLI_TMP} " ]; then
5561 echo " No prebuilt binary for ${OS} -${ARCH} ."
5662 echo " To build from source, go to https://github.com/fulll/github"
You can’t perform that action at this time.
0 commit comments