diff options
author | Mickaël Thomas | 2017-05-26 17:27:02 +0200 |
---|---|---|
committer | Mickaël Thomas | 2017-05-26 17:27:02 +0200 |
commit | 1009a4e54f93b9fe8100e7fe2383478eef73b843 (patch) | |
tree | f4f6545d96531ce4b83c59bb269081844f058492 /PKGBUILD | |
parent | 1fe18b977e6733f79737f9aa8896e295e366d934 (diff) | |
download | aur-1009a4e54f93b9fe8100e7fe2383478eef73b843.tar.gz |
Update to 0.15.14
Added -r flag to all read calls in PKGBUILD (thanks qdbp)
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -2,7 +2,7 @@ # Contributor: Sebastien Duthil <duthils@free.fr> pkgname=factorio-experimental -pkgver=0.15.13 +pkgver=0.15.14 pkgrel=1 pkgdesc="A 2D game about building and maintaining factories (experimental branch)" arch=('x86_64') @@ -37,7 +37,7 @@ build() { while [[ ! -f "${pkgpath}/${_gamepkg}" ]]; do error "Game package not found." - read -p "Please provide the path to the directory containing ${_gamepkg} or leave blank to download the game using your Factorio credentials:" pkgpath + read -rp "Please provide the path to the directory containing ${_gamepkg} or leave blank to download the game using your Factorio credentials:" pkgpath if [[ -z "$pkgpath" ]]; then _download && pkgpath="$SRCDEST" || true @@ -76,8 +76,8 @@ _download() { local password local file="${SRCDEST}/${_gamepkg}" - read -p "Username or email: " login - [[ -n $login ]] && read -sp "Password: " password ; echo + read -rp "Username or email: " login + [[ -n $login ]] && read -rsp "Password: " password ; echo if [[ -n $login && -n $password ]]; then msg "Logging in..." @@ -127,7 +127,7 @@ _download() { else error "Login failed" #echo "$output" - read -p "Try again? (Y/n)" + read -rp "Try again? (Y/n)" [[ $REPLY == n ]] && break fi else |