#!/bin/sh # # Script to make a CUPS root compatible with the darwinup command. Standard # instructions for people getting these roots are: # # sudo darwinup install ~/Desktop/Shared_cups-NNNNNNNN_DSTROOT_osx.tar.gz # cupsctl --debug-logging # # Usage: # # makedarwinup radar-number # if test $# != 1; then echo "Usage: makedarwinup radar-number" exit 1 fi buildit -project cups -archive -archiveName cups-$1 -archiveOutputDir ~/Desktop -dsymsInDstroot -buildAllAliases -noverify . || exit 1 echo "Send ~/Desktop/Shared_cups-$1_DSTROOT_osx.tar.gz to tester." echo "" echo "Commands for tester to run:" echo "" echo " sudo darwinup install ~/Desktop/Shared_cups-$1_DSTROOT_osx.tar.gz" echo " cupsctl --debug-logging"