commit_new_dsid: Symbolic link is not updated

Hi, When I use "commit_new_dsid" to copy JO directory to GIT. Symbolic links are not updated with newly assigned DSIDS.

I used this command to move to directory to GIT area:

./scripts/commit_new_dsid -m "Commit message" -n ../100xxx/*
OK: ../100xxx/100000 is dir
OK: ../100xxx/100001 is dir

Then I checked the new directory(DSIDs).

[yabulait@lxplus750 mcjoboptions]$ ls -l 523xxx/523102/
lrwxrwxrwx. 0 yabulait zp  41 May 18 15:53 DirectPhotonFilter.py -> ../../100xxx/100000/DirectPhotonFilter.py
-rw-r--r--. 1 yabulait zp 163 May 18 15:53 log.generate.short
lrwxrwxrwx. 0 yabulait zp  66 May 18 15:53 MadGraphControl_MGPy8EG_DMS1_dijetgamma_pta.py -> ../../100xxx/100000/MadGraphControl_MGPy8EG_DMS1_dijetgamma_pta.py

Here you can see that the symbolic links are still "../../100xxx/100000/*", but it should be "../../523xxx/523101".

This happened few times recently. So I reported here.

Cheers, Ablet

Edited by Yiming Abulaiti