diff options
-rwxr-xr-x | chrome/tools/build/mac/pkg-dmg | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/tools/build/mac/pkg-dmg b/chrome/tools/build/mac/pkg-dmg index 32df18e..7ec117d 100755 --- a/chrome/tools/build/mac/pkg-dmg +++ b/chrome/tools/build/mac/pkg-dmg @@ -931,8 +931,9 @@ sub diskImageMaker($$$$$$$$) { $hybridImage = giveExtension($tempDir.'/hybrid', '.dmg'); if(command($gConfig{'cmd_hdiutil'}, 'makehybrid', '-hfs', - '-hfs-volume-name', $name, '-hfs-openfolder', $source, '-ov', - $source, '-o', $hybridImage) != 0) { + '-hfs-volume-name', $name, + ($gConfig{'openfolder_bless'} ? ('-hfs-openfolder', $source) : ()), + '-ov', $source, '-o', $hybridImage) != 0) { cleanupDie('hdiutil makehybrid failed'); } |