From 9950e3e55d1cfd227d781d6ef1a5e2a5b411656d Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 9 Aug 2011 11:42:23 +0000 Subject: [PATCH] Made releng/auto_isocontent ready for Solaris (with bash) --- releng/auto_isocontent | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/releng/auto_isocontent b/releng/auto_isocontent index 8935a61b..e24a8fab 100755 --- a/releng/auto_isocontent +++ b/releng/auto_isocontent @@ -83,7 +83,8 @@ is_valid_iso9660() { failure=1 printf "\nFAIL : ${SELF} : Not found: ${ISOfile}\n" 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" else failure=1