Procházet zdrojové kódy

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

tags/0.6.3m1rc1
Shane Mc Cormack před 15 roky
rodič
revize
b390a55199
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4
    1
      installer/osx/makeInstallerOSX.sh

+ 4
- 1
installer/osx/makeInstallerOSX.sh Zobrazit soubor

@@ -62,9 +62,12 @@ if [ "" = "${HDIUTIL}" ]; then
62 62
 	if [ "" != "${MKISOFS}" ]; then
63 63
 		MKISOFS_TEST=`${MKISOFS} --help 2>&1 | grep apple`
64 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 66
 			exit 1;
67 67
 		fi;
68
+	else
69
+		echo "This machine is unable to produce dmg images (missing mkisofs or hdiutil). Aborting."
70
+		exit 1;
68 71
 	fi;
69 72
 fi;
70 73
 

Načítá se…
Zrušit
Uložit