Skip to content

Commit

Permalink
Fix for bash incompatibility with empty array and -u setting introduc…
Browse files Browse the repository at this point in the history
…ed in bash-4.3.30.
  • Loading branch information
vlisivka committed Nov 27, 2014
1 parent 04278d1 commit 4733b50
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
7 changes: 5 additions & 2 deletions main/bash-modules/spec/bash-modules.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Name: bash-modules
Version: 2.0.2
Release: 4%{?dist}
Version: 2.0.3
Release: 1%{?dist}
Summary: Modules for bash

Group: System/Libraries
Expand Down Expand Up @@ -57,6 +57,9 @@ rm -rf "$RPM_BUILD_ROOT"


%changelog
* Thu Nov 27 2014 Volodymyr M. Lisivka <[email protected]> - 2.0.3-1
- Fix for bash incompatibility with empty arrays and -u setting introduced in bash-4.3.30

* Wed Jul 31 2013 Volodymyr M. Lisivka <[email protected]> - 2.0.2-4
- Group changed again from to "System/Libraries"
- URL to home page is changed to github
Expand Down
7 changes: 5 additions & 2 deletions main/bash-modules/spec/bash-modules.spec.fedora
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Name: bash-modules
Version: 2.0.2
Release: 4%{?dist}
Version: 2.0.3
Release: 1%{?dist}
Summary: Modules for bash

Group: System Environment/Libraries
Expand Down Expand Up @@ -46,6 +46,9 @@ cp -a src/bash-modules/* "$RPM_BUILD_ROOT%homedir/"


%changelog
* Thu Nov 27 2014 Volodymyr M. Lisivka <[email protected]> - 2.0.3-1
- Fix for bash incompatibility with empty arrays and -u setting introduced in bash-4.3.30

* Wed Jul 31 2013 Volodymyr M. Lisivka <[email protected]> - 2.0.2-4
- Group changed again from to "System/Libraries"
- URL to home page is changed to github
Expand Down
2 changes: 2 additions & 0 deletions main/bash-modules/src/bash-modules/arguments.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ Example:
# Local variables
local OPTION_DESCRIPTIONS PARSER
declare -a OPTION_DESCRIPTIONS
# Initialize array, because declare -a is not enough anymore for -u opt
OPTION_DESCRIPTIONS=( )

# Split arguments list at "--"
while [ $# -gt 0 ]
Expand Down
Binary file added rpms/bash-modules-2.0.3-1.fc21.R.noarch.rpm
Binary file not shown.

0 comments on commit 4733b50

Please sign in to comment.