Update bundle scripts to handle directory being moved by user
Opened this issue · 0 comments
djhoese commented
Right now the two bundle scripts (SIFT.bat and SIFT.sh) only check if the script has been run before by checking a .installed
file. While this stops conda-unpack
from being run multiple times it doesn't fix the case where a user runs SIFT once and then moves the directory. In this case conda-unpack
should probably be run again to re-write all the directories (assuming conda-unpack can rewrite paths multiple times).
We should update both of these scripts to check the path that is in the file, see if it matches the base directory we are currently in and if not then rerun conda-unpack and rewrite the file.
@katherinekolman I thought you could do the .bat
script and I'll do the .sh
script.