Made releng/auto_isocontent ready for Solaris (with bash)
This commit is contained in:
parent
669d51f2b3
commit
359b699f55
@ -83,7 +83,8 @@ is_valid_iso9660() {
|
|||||||
failure=1
|
failure=1
|
||||||
printf "\nFAIL : ${SELF} : Not found: ${ISOfile}\n"
|
printf "\nFAIL : ${SELF} : Not found: ${ISOfile}\n"
|
||||||
fi
|
fi
|
||||||
if file ${ISOfile} | grep -P "ISO\s+9660\s+CD-ROM\s+filesystem\s+data" >/dev/null 2>&1; then
|
file ${ISOfile}
|
||||||
|
if file ${ISOfile} | grep "ISO *9660" >/dev/null 2>&1; then
|
||||||
printf "\n${SELF}: Resulting ${ISOfile} OK. Looks like ISO 9660 filesystem.\n"
|
printf "\n${SELF}: Resulting ${ISOfile} OK. Looks like ISO 9660 filesystem.\n"
|
||||||
else
|
else
|
||||||
failure=1
|
failure=1
|
||||||
|
Loading…
Reference in New Issue
Block a user