Commit ed857932 authored by Lucas Fernandes de Oliveira's avatar Lucas Fernandes de Oliveira

Merge branch 'issue/2' into 'master'

Issue #1: Fix relative path

See merge request c3sl/psql-manager!2
parents f79c571b 7a51875e
Pipeline #19439 passed with stage
in 48 seconds
......@@ -15,6 +15,12 @@ fi
# transform relative path into absolute path,
# only when the path is indicated
if [[ $# -eq "2" ]]; then
workspace="$(cd $workspace && pwd)"
# Make independent of path
basePath=$(echo $BASH_SOURCE | rev | cut -c 11- | rev)
cd $basePath
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