Diff

Differences From Artifact [97df0b6e0a]:

To Artifact [622c712f8a]:


137
138
139
140
141
142
143
144

145
146
147
148
149
150
151
137
138
139
140
141
142
143

144
145
146
147
148
149
150
151







-
+







# Function to build Mac OS X Packages
pkgbuild() {
	if [ ${OSX} == "Panther" ]; then
		EXT=mpkg
	else
		EXT=pkg
	fi
	/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -d ../cackey_osx_build/${OSX}_pmbuild.pmdoc -o macbuild/pkg/CACKey_${OSX}.${EXT}
	/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker -d build/cackey_osx_build/${OSX}_pmbuild.pmdoc -o macbuild/pkg/CACKey_${OSX}.${EXT}
	tar --create --directory macbuild/pkg/ --file macbuild/pkg/CACKey_${OSX}.${EXT}.tar CACKey_${OSX}.${EXT}
	gzip -9 macbuild/pkg/CACKey_${OSX}.${EXT}.tar
	rm -rf macbuild/pkg/CACKey_${OSX}.${EXT}
	echo "${OSX} build complete"
}

# Take command line arguments and execute