fix: working directory fix

This commit is contained in:
Rohit T P
2024-05-02 15:16:14 +00:00
parent f03bf62b6c
commit d9a9d4b990
14 changed files with 41 additions and 38 deletions

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh "setup"
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh "setup"
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh "setup"
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}

View File

@@ -19,4 +19,4 @@ if [ "$1" = "setup" ]; then
cd "$NOCO_HOME" || exit
docker compose down
fi
fi

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh "setup"
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}

View File

@@ -3,15 +3,15 @@
NOCO_HOME="${HOME}/.nocodb"
export NOCO_HOME
WORKING_DIR="$(pwd)"
setup() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh "setup"
}
teardown() {
cd "${WORKING_DIR}" || exit 1
cd "${WORKING_DIR}/configure" || exit 1
./setup.sh
}