Browse Source

Drop "possible bashism" from source/git/post-receive

The checkbashism warning is not really true:

| possible bashism in source/git/post-receive line 55 (test -a/-o):if [ -n "$1" -a -n "$2" -a -n "$3" ]; then

but let's get rid of it anyway...
merge-requests/109/head
Michael Prokop 10 years ago
parent
commit
11fd8dbdee
  1. 2
      git/post-receive

2
git/post-receive

@ -63,7 +63,7 @@ trigger_jenkins()
# ...
}
if [ -n "$1" -a -n "$2" -a -n "$3" ]; then
if [ -n "$1" ] && [ -n "$2" ] && [ -n "$3" ]; then
trigger_jenkins $2 $3 $1
else
while read oldrev newrev refname; do

Loading…
Cancel
Save