Skip to content

Commit

Permalink
Merge pull request #64 from essentialkaos/develop
Browse files Browse the repository at this point in the history
Version 1.9.7
  • Loading branch information
andyone authored Dec 4, 2019
2 parents 985180e + bb69f11 commit daaf0d0
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 33 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Examples:

| Branch | Status |
|--------|--------|
| `master` | [![Build Status](https://travis-ci.org/essentialkaos/rbbuild.svg?branch=master)](https://travis-ci.org/essentialkaos/rbbuild) |
| `develop` | [![Build Status](https://travis-ci.org/essentialkaos/rbbuild.svg?branch=develop)](https://travis-ci.org/essentialkaos/rbbuild) |
| `master` | [![Build Status](https://travis-ci.com/essentialkaos/rbbuild.svg?branch=master)](https://travis-ci.com/essentialkaos/rbbuild) |
| `develop` | [![Build Status](https://travis-ci.com/essentialkaos/rbbuild.svg?branch=develop)](https://travis-ci.com/essentialkaos/rbbuild) |

### License

Expand Down
16 changes: 1 addition & 15 deletions SOURCES/rbbuild
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
APP="RBBuild"

# App version (String)
VER="1.9.6"
VER="1.9.7"

################################################################################

Expand Down Expand Up @@ -184,8 +184,6 @@ declare -A plocat
# Code: No
# Echo: No
main() {
trap errHandler ERR

if [[ ! -t 1 || -n "$no_colors" ]] ; then
unset NORM BOLD UNLN RED GREEN YELLOW BLUE MAG CYAN GREY DARK
unset CL_NORM CL_BOLD CL_UNLN CL_RED CL_GREEN CL_YELLOW CL_BLUE CL_MAG CL_CYAN CL_GREY CL_DARK
Expand Down Expand Up @@ -2380,18 +2378,6 @@ about() {
show ""
}

# Handler for errors
#
# Code: No
# Echo: No
errHandler() {
while caller $((n++)) ; do
true
done

exit 1
}

## ARGUMENTS PARSING 4 #################################################################

[[ $# -eq 0 ]] && main && exit $?
Expand Down
16 changes: 1 addition & 15 deletions SOURCES/rbdef
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fi
APP="RBBuild Def Utils"

# App version (String)
VER="1.5.3"
VER="1.5.4"

################################################################################

Expand Down Expand Up @@ -132,8 +132,6 @@ reduced_redundancy=""
# Code: No
# Echo: No
main() {
trap errHandler ERR

if [[ ! -t 1 || -n "$no_colors" ]] ; then
unset NORM BOLD UNLN RED GREEN YELLOW BLUE MAG CYAN GREY DARK
unset CL_NORM CL_BOLD CL_UNLN CL_RED CL_GREEN CL_YELLOW CL_BLUE CL_MAG CL_CYAN CL_GREY CL_DARK
Expand Down Expand Up @@ -847,18 +845,6 @@ about() {
show ""
}

# Handler for errors
#
# Code: No
# Echo: No
errHandler() {
while caller $((n++)) ; do
true
done

exit 1
}

## PREFS PARSING ###############################################################

unset arg argn argp
Expand Down
5 changes: 4 additions & 1 deletion rbbuild.spec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

Summary: Utility for compiling and installing different ruby versions
Name: rbbuild
Version: 1.9.6
Version: 1.9.7
Release: 0%{?dist}
License: EKOL
Vendor: ESSENTIALKAOS
Expand Down Expand Up @@ -87,6 +87,9 @@ rm -rf %{buildroot}
################################################################################

%changelog
* Wed Dec 04 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.7-0
- Removed handler for script errors

* Sat Nov 30 2019 Anton Novojilov <andy@essentialkaos.com> - 1.9.6-0
- Added handling of SCRIPT_DEBUG environment variable for enabling debug mode
- Added handler for script errors
Expand Down

0 comments on commit daaf0d0

Please sign in to comment.