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...
tags/v0.5.0
Michael Prokop 8 years ago
parent
commit
11fd8dbdee
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      git/post-receive

+ 1
- 1
git/post-receive View File

@@ -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