Commit 5d78fbba11dfa9cb8e06e30c9c8f744299b64be3
1 parent
c0b8b730
Exists in
master
and in
110 other branches
Fix a bug when RemoteData directory not exists
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
update_amda/makeRemote
@@ -28,6 +28,7 @@ | @@ -28,6 +28,7 @@ | ||
28 | php $AMDA_IHM/php/RemoteDataCenter/makeArgs.php | 28 | php $AMDA_IHM/php/RemoteDataCenter/makeArgs.php |
29 | 29 | ||
30 | if [ ! -e $AMDA_IHM/generic_data/RemoteData/Bases.xml ]; then | 30 | if [ ! -e $AMDA_IHM/generic_data/RemoteData/Bases.xml ]; then |
31 | + mkdir -p $AMDA_IHM/generic_data/RemoteData | ||
31 | cp $AMDA_IHM/php/RemoteDataCenter/Bases.xml $AMDA_IHM/generic_data/RemoteData | 32 | cp $AMDA_IHM/php/RemoteDataCenter/Bases.xml $AMDA_IHM/generic_data/RemoteData |
32 | fi | 33 | fi |
33 | 34 |