Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
fix: detection if 'params.release' and 'params.namespace' are files (#68
Browse files Browse the repository at this point in the history
)
  • Loading branch information
norbertbuchmueller authored and msiegenthaler committed May 28, 2018
1 parent 911ef0f commit d0c6b34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/out
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ if [ -z "$chart" ]; then
exit 1
fi

if [ -f "$namespace_file" ]; then
if [ -f "$source/$namespace_file" ]; then
namespace=`cat $source/$namespace_file`
elif [ -n "$namespace_file" ]; then
namespace=$namespace_file
fi

if [ -n "$release_file" ]; then
if [ -f "$release_file" ]; then
if [ -f "$source/$release_file" ]; then
release=`cat $source/$release_file`
else
release=$release_file
Expand Down

0 comments on commit d0c6b34

Please sign in to comment.