Commit 0dfbf837 authored by PoroCYon's avatar PoroCYon
Browse files

fix once more

parent 640c7b03
export SSPT_SUB_DIR="$(dirname "$0")/local/libexec/sspt" export SSPT_SUB_DIR="$SSPT_BOOTSTRAP_BASE/local/libexec/sspt"
export SSPT_DEST_DIR="$(dirname "$0")/local" export SSPT_DEST_DIR="$SSPT_TEST_BASE/local"
export SSPT_SUB_DIR="$(dirname "$0")/local/libexec/sspt" export SSPT_SUB_DIR="$SSPT_TEST_BASE/local/libexec/sspt"
export SSPT_DB_DIR="$(dirname "$0")/local/share/sspt" export SSPT_DB_DIR="$SSPT_TEST_BASE/local/share/sspt"
export SSPT_DL_DIR="$(dirname "$0")/sources" export SSPT_DL_DIR="$SSPT_TEST_BASE/sources"
...@@ -21,7 +21,10 @@ edit_the_conf() { ...@@ -21,7 +21,10 @@ edit_the_conf() {
local/bin/sspt --mk-default-config local/bin/sspt --mk-default-config
edit_the_conf edit_the_conf
. "$cfgfile" . "$cfgfile"
export SSPT_BOOTSTRAP_BASE="$(dirname "$0")"
local/bin/sspt -c config/sspt.bootstrap.conf pull "https://gitlab.com/PoroCYon/sspt" local/bin/sspt -c config/sspt.bootstrap.conf pull "https://gitlab.com/PoroCYon/sspt"
. "$cfgfile" . "$cfgfile"
export SSPT_BOOTSTRAP_BASE="$(dirname "$0")"
local/bin/sspt -c config/sspt.bootstrap.conf install "sspt" local/bin/sspt -c config/sspt.bootstrap.conf install "sspt"
unset SSPT_BOOTSTRAP_BASE
#!/usr/bin/env bash #!/usr/bin/env bash
XDG_CONFIG_HOME="$(dirname "$(realpath "$0")")/config" local/bin/sspt "$@" SSPT_TEST_BASE="$(dirname "$0")" XDG_CONFIG_HOME="$(dirname "$(realpath "$0")")/config" local/bin/sspt "$@"
Supports Markdown
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