projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4cb676
)
build,travis: fix return code when "No new or modified packages found!"
author
Etienne Champetier
<champetier.etienne@gmail.com>
Sat, 5 Aug 2017 16:18:00 +0000
(09:18 -0700)
committer
Etienne Champetier
<champetier.etienne@gmail.com>
Sat, 5 Aug 2017 16:18:00 +0000
(09:18 -0700)
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
.travis_do.sh
patch
|
blob
|
history
diff --git
a/.travis_do.sh
b/.travis_do.sh
index 8671165ee2d1ae46f5f4ae96b31435d01629704e..47a29f4d1609e441b4164b6a369c8aea2bf00696 100755
(executable)
--- a/
.travis_do.sh
+++ b/
.travis_do.sh
@@
-61,8
+61,8
@@
test_packages2() {
PKGS=$(git diff --name-only "$TRAVIS_COMMIT_RANGE" | grep 'Makefile$' | grep -v '/files/' | awk -F'/Makefile' '{ print $1 }')
if [ -z "$PKGS" ] ; then
- echo_blue "No new or modified packages found!"
>&2
-
exit
0
+ echo_blue "No new or modified packages found!"
+
return
0
fi
echo_blue "=== Found new/modified packages:"