Skip to content

Commit

Permalink
Merge pull request #140 from thenamly/patch-1
Browse files Browse the repository at this point in the history
Fix bash variable errors at workflow builder cmd
  • Loading branch information
erwinvaneyk authored May 2, 2018
2 parents a9aa1a8 + f73f4a8 commit 1fd2acb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/build-env/defaultBuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ if [[ -f ${SRC_PKG} ]] ; then
elif [[ -d ${SRC_PKG} ]] ; then
# Package is an archive
mkdir -p ${DEPLOY_PKG}
for wf in ${SRC_PKG}/*.yaml ; do
dst=$(basename wf)
parse ${wf} > ${DEPLOY_PKG}/dst
for wf in ${SRC_PKG}/*.wf.yaml ; do
dst=$(basename ${wf})
parse ${wf} ${DEPLOY_PKG}/${dst}
done
else
echo "Invalid file type: '${SRC_PKG}'"
Expand Down

0 comments on commit 1fd2acb

Please sign in to comment.