Browse Source

package uploader: attempt to fix errors when using on CI

emacs-27
Leonid Plyushch 6 years ago
parent
commit
0cf978c8af
  1. 6
      scripts/package_uploader.sh

6
scripts/package_uploader.sh

@ -93,8 +93,8 @@ msg() {
## Blocks terminal to prevent any user input. ## Blocks terminal to prevent any user input.
## Takes no arguments. ## Takes no arguments.
block_terminal() { block_terminal() {
stty -echo -icanon time 0 min 0 stty -echo -icanon time 0 min 0 2>/dev/null || true
stty quit undef susp undef stty quit undef susp undef 2>/dev/null || true
} }
@ -104,7 +104,7 @@ unblock_terminal() {
while read -r; do while read -r; do
true; true;
done done
stty sane stty sane 2>/dev/null || true
} }

Loading…
Cancel
Save