Skip to content

Commit ab87025

Browse files
committed
Solve minor bug when SetupDataModel.sh is applied whereas DataModel already exist
1 parent 369a7e1 commit ab87025

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

SetupDataModel.sh

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
if [ ! -z ./leaf/DataModel ]; then
4+
echo "Remove previous link"
5+
rm ./leaf/DataModel
6+
fi
37

48
if [ "$HK_ASTROANALYSIS_DIR" == "" ] || [ -z $HK_ASTROANALYSIS_DIR ]; then
59
echo "HK_ASTROANALYSIS_DIR is not defined or doesn't exist ($HK_ASTROANALYSIS_DIR). Will use lite DataModel."

0 commit comments

Comments
 (0)