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
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
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 toROOT
, thetouch
command had an invalid path specified (unlessROOT
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.