Knotx / knotx-aggregator

An aggregator for all Knot.x projects - release guides, automation, etc.
https://knotx.io
Apache License 2.0
0 stars 3 forks source link

#39 Use proper relative path to touch .composite-enabled file #40

Closed marcinus closed 4 years ago

marcinus commented 4 years ago

Fixes relative path handling in build-stack.sh script.

Description

There was an error-prone code for handling path passed to build-stack -r ROOT command. After changing directory to ROOT, the touch command had an invalid path specified (unless ROOT was an absolute path). This PR fixes the issue by using relative addressing for touching .composite-enabled file.

Motivation and Context

Closes #39

Types of changes

Checklist:


I hereby agree to the terms of the Knot.x Contributor License Agreement.