xfsprogs: fix bashism on fsck.xfs. (#13956)

resolves #13955
This commit is contained in:
maxice8 2018-04-29 16:27:09 -03:00 committed by Duncan Overbruck
parent e635dbbbba
commit 6fb534b1c7
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- fsck/xfs_fsck.sh
+++ fsck/xfs_fsck.sh
@@ -6,7 +6,7 @@
NAME=$0
# get the right return code for fsck
-function repair2fsck_code() {
+repair2fsck_code() {
case $1 in
0) return 0 # everything is ok
;;

View File

@ -1,7 +1,7 @@
# Template file for 'xfsprogs'
pkgname=xfsprogs
version=4.16.0
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-readline=yes --enable-lib64=no"
hostmakedepends="libuuid-devel"