Browse Source

Fail if mkisofs is not found, rather than just when it can't make dmg files

tags/0.6.3m1rc1
Shane Mc Cormack 15 years ago
parent
commit
b390a55199
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      installer/osx/makeInstallerOSX.sh

+ 4
- 1
installer/osx/makeInstallerOSX.sh View File

62
 	if [ "" != "${MKISOFS}" ]; then
62
 	if [ "" != "${MKISOFS}" ]; then
63
 		MKISOFS_TEST=`${MKISOFS} --help 2>&1 | grep apple`
63
 		MKISOFS_TEST=`${MKISOFS} --help 2>&1 | grep apple`
64
 		if [ "" = "${MKISOFS_TEST}" ]; then
64
 		if [ "" = "${MKISOFS_TEST}" ]; then
65
-			echo "This machine is unable to produce dmg images. Aborting."
65
+			echo "This machine is unable to produce dmg images (no support from mkisofs). Aborting."
66
 			exit 1;
66
 			exit 1;
67
 		fi;
67
 		fi;
68
+	else
69
+		echo "This machine is unable to produce dmg images (missing mkisofs or hdiutil). Aborting."
70
+		exit 1;
68
 	fi;
71
 	fi;
69
 fi;
72
 fi;
70
 
73
 

Loading…
Cancel
Save