Changeset 36770


Ignore:
Timestamp:
2022-10-10T17:00:07+13:00 (19 months ago)
Author:
davidb
Message:

More nuanced copying of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/apache-jena/trunk/src/src3/gs-triplestore-server3

    r36764 r36770  
    1717fi
    1818
    19 echo "Copying src3/run--shiro.ini -> run/shiro.ini"
    20 /bin/cp src3/run--shiro.ini run/.
     19if [ ! -f run/shiro.ini ] || [ src3/run--shiro.ini -nt run/shiro.ini ] ; then
     20    echo "Copying src3/run--shiro.ini -> run/shiro.ini"
     21    /bin/cp src3/run--shiro.ini run/.
     22fi
    2123
    22 echo "Copying src3/run-templates--config-tdb-dir run/templates/config-tdb-dir"
    23 if [ ! -d run/templates ] ; then
    24     mkdir run/templates
     24if [ ! -f run/templates/config-tdb-dir ] || [ src3/run-templates--config-tdb-dir -nt run/templates/config-tdb-dir ] ; then
     25    echo "Copying src3/run-templates--config-tdb-dir run/templates/config-tdb-dir"
     26    if [ ! -d run/templates ] ; then
     27    mkdir run/templates
     28    fi
     29    /bin/cp src3/run-templates--config-tdb-dir run/templates/config-tdb-dir
    2530fi
    26 /bin/cp src3/run-templates--config-tdb-dir run/templates/config-tdb-dir
     31
    2732
    2833if [ ! -d etc/tdb-triple-store3 ] ; then
Note: See TracChangeset for help on using the changeset viewer.