Commit f1a275ed authored by YannGarcia's avatar YannGarcia
Browse files

Enhance docker process

parent 0f2ff186
Loading
Loading
Loading
Loading
Compare 7fdc910a to e1c90f29
Original line number Diff line number Diff line
Subproject commit 7fdc910a442b8cf6a134754845da0def5a7b258c
Subproject commit e1c90f29e9b2fcdbb79f064f90ba5f34710b8a2c
+18 −18
Original line number Diff line number Diff line
@@ -6,8 +6,8 @@ set -vx
echo -e "*****************************\n* Checkout TS.ITS sources\n*****************************\n"
cd ${HOME}/dev || exit 1

git clone --recurse-submodules --single-branch --branch ttf_t024 https://forge.etsi.org/rep/ITS/TS.ITS.git TS.ITS
cd ./TS.ITS
git clone --recurse-submodules --single-branch --branch ttf_t024 https://forge.etsi.org/rep/ITS/TS.ITS.git TS.ITS || exit 1
cd ./TS.ITS || exit 1
for i in `find ./ttcn -type d -name "Ats*"`
do
    cd $i
@@ -18,22 +18,22 @@ for i in `find ./ttcn/Ats* -type d -name "asn1"`
do
    cd $i
    git checkout testing2
    if [ -f ETSI-ITS-CDD.asn ]
    then
        ln -sf ETSI-ITS-CDD.asn ETSI_ITS_CDD.asn
    elif [ -f IVIM-PDU-Descriptions.asn ]
    then
        ln -sf IVIM-PDU-Descriptions.asn IVIM_PDU_Descriptions.asn
        ln -sf MAPEM-PDU-Descriptions.asn MAPEM_PDU_Descriptions.asn
        ln -sf RTCMEM-PDU-Descriptions.asn RTCMEM_PDU_Descriptions.asn
        ln -sf SPATEM-PDU-Descriptions.asn SPATEM_PDU_Descriptions.asn
        ln -sf SREM-PDU-Descriptions.asn SREM_PDU_Descriptions.asn
        ln -sf SSEM-PDU-Descriptions.asn SSEM_PDU_Descriptions.asn
        ln -sf iso-patched/'ISO14906(2018)EfcDsrcApplicationv6-patched.asn' iso-patched/EfcDsrcApplication.asn
        ln -sf iso-patched/'ISO14906(2018)EfcDsrcGenericv7-patched.asn' iso-patched/EfcDsrcGeneric.asn
        ln -sf iso-patched/ISO24534-3_ElectronicRegistrationIdentificationVehicleDataModule-patched.asn iso-patched/ElectronicRegistrationIdentificationVehicleDataModule.asn
        ln -sf iso-patched/ISO14823-missing.asn iso-patched/GDD.asn
    fi
#    if [ -f ETSI-ITS-CDD.asn ]
#    then
#        ln -sf ETSI-ITS-CDD.asn ETSI_ITS_CDD.asn || exit 1
#    elif [ -f IVIM-PDU-Descriptions.asn ]
#    then
#        ln -sf IVIM-PDU-Descriptions.asn IVIM_PDU_Descriptions.asn || exit 1
#        ln -sf MAPEM-PDU-Descriptions.asn MAPEM_PDU_Descriptions.asn || exit 1
#        ln -sf RTCMEM-PDU-Descriptions.asn RTCMEM_PDU_Descriptions.asn || exit 1
#        ln -sf SPATEM-PDU-Descriptions.asn SPATEM_PDU_Descriptions.asn || exit 1
#        ln -sf SREM-PDU-Descriptions.asn SREM_PDU_Descriptions.asn || exit 1
#        ln -sf SSEM-PDU-Descriptions.asn SSEM_PDU_Descriptions.asn || exit 1
#        ln -sf iso-patched/'ISO14906(2018)EfcDsrcApplicationv6-patched.asn' iso-patched/EfcDsrcApplication.asn || exit 1
#        ln -sf iso-patched/'ISO14906(2018)EfcDsrcGenericv7-patched.asn' iso-patched/EfcDsrcGeneric.asn || exit 1
#        ln -sf iso-patched/ISO24534-3_ElectronicRegistrationIdentificationVehicleDataModule-patched.asn iso-patched/ElectronicRegistrationIdentificationVehicleDataModule.asn || exit 1
#        ln -sf iso-patched/ISO14823-missing.asn iso-patched/GDD.asn || exit 1
#    fi
    SUB_DIRS=`find . -type d`
    if [ "SUB_DIRS" != "" ]
    then