From 7b99c5123d894980d721a95899a28f1dc61d2c65 Mon Sep 17 00:00:00 2001 From: Reza Gharibi Date: Sat, 8 Nov 2025 04:31:17 +0330 Subject: [PATCH] Change directory to work_dir before environment creation The compile script creates the virtual environment in the current working directory regardless of the `-w work_dir` parameter. Other scripts already include a `cd` command to switch to the work directory. --- framework/bin/bugsinpy-compile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/framework/bin/bugsinpy-compile b/framework/bin/bugsinpy-compile index 1b5be0e0..169edb6c 100755 --- a/framework/bin/bugsinpy-compile +++ b/framework/bin/bugsinpy-compile @@ -50,6 +50,8 @@ fi # exit #fi +cd "$work_dir" + ###Remove environment if exist rm -r -f env/