# HG changeset patch # User Ilya Tumaykin # Date 1456102189 -10800 # Node ID 6539ab2d189ba81cfef6d335ae103b2116f95f66 # Parent 202e50aa5e08d252a21f4f1dbf3b3fed397213dd unix: avoid using non-portable `read -p' `read -p' is not POSIX-compatible, but bash-compatible. See [0], [1]. Thus replace it with `printf' and `read' combo that does the same, but still conforms with POSIX. [0]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/read.html [1]: https://www.gnu.org/software/bash/manual/bashref.html#index-read diff -r 202e50aa5e08 -r 6539ab2d189b plat/unix/update_tags.sh --- a/plat/unix/update_tags.sh Mon Feb 22 03:29:08 2016 +0300 +++ b/plat/unix/update_tags.sh Mon Feb 22 03:49:49 2016 +0300 @@ -99,5 +99,6 @@ echo "Done." if [ $PAUSE_BEFORE_EXIT -eq 1 ]; then - read -p "Press ENTER to exit..." + printf "Press ENTER to exit..." + read fi