Commit 6af1c1be authored by Matheus Horstmann's avatar Matheus Horstmann 🐴

Issue #4: Update basepath to allow source

Signed-off-by: Matheus Horstmann's avatarMatheus Horstmann <mch15@inf.ufpr.br>
parent a945a148
Pipeline #19494 passed with stage
in 53 seconds
......@@ -2,6 +2,10 @@
# Clean and Load dummies datas in the database. The name of each file MUST be <table name>.csv
fixtureDB() {
# Make independent of path
basePath=$(echo $BASH_SOURCE | rev | cut -c 11- | rev)
cd $basePath
source "./clean.sh"
source "./utils.sh"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment