Skip to content

Commit

Permalink
upload.[sh|bash]: Show drive link in quiet mode too | Resolve labbots…
Browse files Browse the repository at this point in the history
  • Loading branch information
Akianonymus committed May 9, 2021
1 parent f11ff9d commit 3d0ba30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bash/release/gupload
Original file line number Diff line number Diff line change
Expand Up @@ -1895,7 +1895,7 @@ _process_arguments() {
[[ -z ${HIDE_INFO} ]] && {
_print_center "justify" "DriveLink" "${SHARE:+ (SHARED)}" "-"
_support_ansi_escapes && [[ ${COLUMNS} -gt 45 ]] && _print_center "normal" "↓ ↓ ↓" ' '
_print_center "normal" "https://drive.google.com/open?id=${1:-}" " "
"${QUIET:-_print_center}" "normal" "https://drive.google.com/open?id=${1:-}" " "
}
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion bash/upload.bash
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ _process_arguments() {
[[ -z ${HIDE_INFO} ]] && {
_print_center "justify" "DriveLink" "${SHARE:+ (SHARED)}" "-"
_support_ansi_escapes && [[ ${COLUMNS} -gt 45 ]] && _print_center "normal" "↓ ↓ ↓" ' '
_print_center "normal" "https://drive.google.com/open?id=${1:-}" " "
"${QUIET:-_print_center}" "normal" "https://drive.google.com/open?id=${1:-}" " "
}
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion sh/release/gupload
Original file line number Diff line number Diff line change
Expand Up @@ -1838,7 +1838,7 @@ _process_arguments() {
[ -z "${HIDE_INFO}" ] && {
_print_center "justify" "DriveLink" "${SHARE:+ (SHARED)}" "-"
_support_ansi_escapes && [ "$((COLUMNS))" -gt 45 ] 2>| /dev/null && _print_center "normal" '^ ^ ^' ' '
_print_center "normal" "https://drive.google.com/open?id=${1:-}" " "
"${QUIET:-_print_center}" "normal" "https://drive.google.com/open?id=${1:-}" " "
}
return 0
}
Expand Down
2 changes: 1 addition & 1 deletion sh/upload.sh
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ _process_arguments() {
[ -z "${HIDE_INFO}" ] && {
_print_center "justify" "DriveLink" "${SHARE:+ (SHARED)}" "-"
_support_ansi_escapes && [ "$((COLUMNS))" -gt 45 ] 2>| /dev/null && _print_center "normal" '^ ^ ^' ' '
_print_center "normal" "https://drive.google.com/open?id=${1:-}" " "
"${QUIET:-_print_center}" "normal" "https://drive.google.com/open?id=${1:-}" " "
}
return 0
}
Expand Down

0 comments on commit 3d0ba30

Please sign in to comment.