Commit a3f219a7 authored by Idir Lankri's avatar Idir Lankri

Add option '-T' to 'cp' when copying corpus in the server area

This is to avoid creating a new subdirectory in the directory CORPUS of
the server area when the latter already exists.
parent 9d80c38d
......@@ -509,7 +509,7 @@ releasedata: abrevs
fi # default language from lexicon parameter
cp -R $(DICO) $(SERVERPUBLICDIR) # hypertext Heritage dictionary
if [ $(SKTCORPUS) ]; then \
cp -R $(SKTCORPUS) $(SERVERCORPUS); \
cp -RT $(SKTCORPUS) $(SERVERCORPUS); \
chown -R www-data $(SERVERCORPUS); \
fi # Sanskrit corpus
# so that cgis invocations in DICO pages are relocated consistently with config:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment