mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
patchinstall.sh: Avoid using '&>' syntax which spawns a detached shell with dash instead of forwarding output (thanks DarkPlayer).
This commit is contained in:
parent
9ee1d8c391
commit
e65c2c7954
8
debian/tools/patchinstall.sh.in
vendored
8
debian/tools/patchinstall.sh.in
vendored
@ -154,7 +154,7 @@ fi
|
||||
# are applied, but the exitcode is zero. To avoid broken builds we
|
||||
# will workaround this issue or abort. For more information see
|
||||
# https://github.com/wine-compholio/wine-staging/issues/7
|
||||
test ! -d "$DESTDIR/.git" && (cd "$DESTDIR"; git rev-parse --git-dir) &> /dev/null
|
||||
test ! -d ".git" && git rev-parse --git-dir >/dev/null 2>&1
|
||||
workaround_git_bug="$?"
|
||||
|
||||
# Apply the patches using gitapply.sh, a small wrapper around 'patch'
|
||||
@ -183,9 +183,9 @@ elif test "$backend" = "epatch"; then
|
||||
gitapply_args=""
|
||||
fi
|
||||
|
||||
if ! command -v epatch &> /dev/null || \
|
||||
! command -v ebegin &> /dev/null || \
|
||||
! command -v eend &> /dev/null; then
|
||||
if ! command -v epatch >/dev/null 2>&1 || \
|
||||
! command -v ebegin >/dev/null 2>&1 || \
|
||||
! command -v eend >/dev/null 2>&1; then
|
||||
abort "Shell functions epatch/ebegin/eend not found. You have to source this script from your ebuild."
|
||||
fi
|
||||
|
||||
|
@ -708,7 +708,7 @@ fi
|
||||
# are applied, but the exitcode is zero. To avoid broken builds we
|
||||
# will workaround this issue or abort. For more information see
|
||||
# https://github.com/wine-compholio/wine-staging/issues/7
|
||||
test ! -d "$DESTDIR/.git" && (cd "$DESTDIR"; git rev-parse --git-dir) &> /dev/null
|
||||
test ! -d ".git" && git rev-parse --git-dir >/dev/null 2>&1
|
||||
workaround_git_bug="$?"
|
||||
|
||||
# Apply the patches using gitapply.sh, a small wrapper around 'patch'
|
||||
@ -737,9 +737,9 @@ elif test "$backend" = "epatch"; then
|
||||
gitapply_args=""
|
||||
fi
|
||||
|
||||
if ! command -v epatch &> /dev/null || \
|
||||
! command -v ebegin &> /dev/null || \
|
||||
! command -v eend &> /dev/null; then
|
||||
if ! command -v epatch >/dev/null 2>&1 || \
|
||||
! command -v ebegin >/dev/null 2>&1 || \
|
||||
! command -v eend >/dev/null 2>&1; then
|
||||
abort "Shell functions epatch/ebegin/eend not found. You have to source this script from your ebuild."
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user