while executing a shell script in Unix Bash Shell, say any file in another folder and that is referenced by the script references some other file like ../../file_system_1/public/dir1/dir2/file2.xml
script.sh --> references dir1/file1 as "./dir1/file1" dir1/file1 references another file as ../../file_system_1/public/dir1/dir2/file2.xml
so relative to which file is the file2 resolved? to the script.sh location or the file1 folder location.
kind regards