Fix for issue #13 - propagate exit status when extension build fails #25

Merged
merged 1 commit into from Oct 18, 2011
View
2 rpg-build.sh
@@ -27,6 +27,8 @@ do
$RPGSHOWBUILD && cat build.log 1>&2
find "$(dirname "$file")" -name "*.$(ruby_dlext)"
else
+ status=$?
cat build.log 1>&2
+ exit $status
fi
done