Diff

Differences From Artifact [2b8374712c]:

To Artifact [9f47b8a584]:


   159    159   	rm macbuild/${OSX}/libcackey*.dylib.*
   160    160   }
   161    161   
   162    162   # Function to build Mac OS X Packages
   163    163   pkgbuild() {
   164    164   	rm -f build/cackey_osx_build/cackey.dylib
   165    165   	ln macbuild/${OSX}/libcackey.dylib build/cackey_osx_build/cackey.dylib
          166  +	# When Template build is ready to go, change ${OSX} to Template in line below
   166    167   	for PMDOC in build/cackey_osx_build/${OSX}_pmbuild.pmdoc/*.in; do
   167    168   		PMDOC="`echo "${PMDOC}" | sed 's_.in__g'`"
          169  +		UUID="`python -c 'import uuid; print uuid.uuid1()' | dd conv=ucase 2>/dev/null`"
   168    170   		sed "s|@@BUILDROOTDIR@@|$(pwd)|g" ${PMDOC}.in > ${PMDOC}
   169    171   		sed "s|@@OSXVERSION@@|${OSX}|g" ${PMDOC}.in > ${PMDOC}
   170    172   		sed "s|@@UUID@@|${UUID}|g" ${PMDOC}.in > ${PMDOC}
   171    173   		sed "s|@@TARGETOS@@|${PKTARGETOS}|g" ${PMDOC}.in > ${PMDOC}
   172    174   		sed "s|@@NEXTOSXVER@@|${NEXTOSXVER}|g" ${PMDOC}.in > ${PMDOC}
   173    175   		sed "s|@@CUROSXVER@@|${CUROSXVER}|g" ${PMDOC}.in > ${PMDOC}
   174    176   	done