mirror of
ssh://git.janware.com/janware/proj/jw-pkg
synced 2026-04-24 17:23:36 +02:00
pgit.sh: Set -o pipefail
Set -o pipefail at the start of the script. This makes pgit.sh commit work. Before it didn't, because run_git() doesn't return a proper return value when it's used in a pipe with a cosmetic sed afterwards. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
1da3f37889
commit
91abb82879
1 changed files with 3 additions and 0 deletions
|
|
@ -299,9 +299,12 @@ cmd_diff()
|
||||||
done
|
done
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
myname=${0##*/}
|
myname=${0##*/}
|
||||||
cmdline="$myname $*"
|
cmdline="$myname $*"
|
||||||
porcelain=0
|
porcelain=0
|
||||||
|
|
||||||
log_start_stop start
|
log_start_stop start
|
||||||
log "GIT_SSH=$GIT_SSH"
|
log "GIT_SSH=$GIT_SSH"
|
||||||
log "JW_PKG_SSH_EXTRA_OPTS=$JW_PKG_SSH_EXTRA_OPTS"
|
log "JW_PKG_SSH_EXTRA_OPTS=$JW_PKG_SSH_EXTRA_OPTS"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue