Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sap_install_media_detect: Fix wrong sap_export_solman_java detection
Fixes sap-linuxlab#921. The SAP Solution Manager JAVA Export file (e.g. 51054655_4.zip) contains files with the search pattern for 'sap_export_nwas_java' before files with the search pattern for 'sap_export_solman_java'. So we fall through (= do no longer exit) for the search pattern of the SAP Netweaver Java files (e.g. 51055106.zip). This will work as long as such files do not have content which are matched by any other search pattern. Tested with: 51050829_3 (NW 7.5 Installation Export) 51054655_1 (SAP Solution Manager 7.2 SR2 Installation Export I) 51054655_2 (SAP Solution Manager 7.2 SR2 Installation Export II) 51054655_4 (SAP Solution Manager 7.2 SR2 - Java) 51055106 (SAP Netweaver 7.5 SP22 Java) $ sapfile *.zip 51050829_3.zip: sap_export_nwas_abap 51054655_1.zip: sap_export_solman_abap 51054655_2.zip: sap_export_solman_abap 51054655_4.zip: sap_export_solman_java 51055106.zip: sap_export_nwas_java Signed-off-by: Bernd Finger <[email protected]>
- Loading branch information