EFIC-233 - update ci
diff --git a/.github/scripts/precheck/install-magic.sh b/.github/scripts/precheck/install-magic.sh
index 8c0fee7..4d9bc9d 100644
--- a/.github/scripts/precheck/install-magic.sh
+++ b/.github/scripts/precheck/install-magic.sh
@@ -15,7 +15,6 @@
# SPDX-License-Identifier: Apache-2.0
# By default build pdk since we don't need the other script for the main purpose
-export TARGET_PATH=$(pwd)
export MAGIC_ROOT=./magic
sudo apt-get install -y tcl tk tcl-dev tk-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev csh libncurses5-dev libncursesw5-dev libx11-dev
diff --git a/.github/scripts/precheck/run-precheck.sh b/.github/scripts/precheck/run-precheck.sh
index d63d15b..e783a03 100644
--- a/.github/scripts/precheck/run-precheck.sh
+++ b/.github/scripts/precheck/run-precheck.sh
@@ -13,14 +13,14 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# SPDX-License-Identifier: Apache-2.0
-export TARGET_PATH=$(pwd)
-export PRECHECK_ROOT=$TARGET_PATH/mpw_precheck
-export OUTPUT_DIRECTORY=$TARGET_PATH/mpw_precheck_result
+export CARAVEL_USER_PROJECT_ROOT=$(pwd)
+export PRECHECK_ROOT=$CARAVEL_USER_PROJECT_ROOT/mpw_precheck
+export OUTPUT_DIRECTORY=$CARAVEL_USER_PROJECT_ROOT/mpw_precheck_result
cd ..
-export PDK_ROOT=$(pwd)/precheck_pdks
+export PDK_ROOT=$(pwd)/pdks
cd $PRECHECK_ROOT
-docker run -v $PRECHECK_ROOT:$PRECHECK_ROOT -v $TARGET_PATH:$TARGET_PATH -v $PDK_ROOT:$PDK_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "cd $PRECHECK_ROOT; python3 mpw_precheck.py --input_directory $INPUT_DIRECTORY --pdk_root $PDK_ROOT --output_directory $OUTPUT_DIRECTORY license makefile consistency xor magic_drc klayout_beol klayout_feol klayout_met_min_ca_density klayout_offgrid klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea"
+docker run -v $PRECHECK_ROOT:$PRECHECK_ROOT -v $CARAVEL_USER_PROJECT_ROOT:$CARAVEL_USER_PROJECT_ROOT -v $PDK_ROOT:$PDK_ROOT -u $(id -u $USER):$(id -g $USER) efabless/mpw_precheck:latest bash -c "cd $PRECHECK_ROOT; python3 mpw_precheck.py --input_directory $INPUT_DIRECTORY --pdk_root $PDK_ROOT --output_directory $OUTPUT_DIRECTORY license makefile consistency xor magic_drc klayout_beol klayout_feol klayout_met_min_ca_density klayout_offgrid klayout_pin_label_purposes_overlapping_drawing klayout_zeroarea"
output=$OUTPUT_DIRECTORY/logs/precheck.log