diff options
author | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-01-19 16:53:50 +0000 |
---|---|---|
committer | msweet <msweet@a1ca3aef-8c08-0410-bb20-df032aa958be> | 2012-01-19 16:53:50 +0000 |
commit | dcb445bcf3e9ec2efd56550263052aca70beb08e (patch) | |
tree | 9a0d2260f2bbfdc8a6aa561c138baca1a58f8228 /tools | |
parent | 9c80ffa289171a48b10cbda2098289ed0c7b96cc (diff) | |
download | cups-dcb445bcf3e9ec2efd56550263052aca70beb08e.tar.gz |
Merge changes from CUPS 1.6svn-r10188, including changes for <rdar://problem/10127258> CUPS 1.6: New printer/printing APIs
git-svn-id: svn+ssh://src.apple.com/svn/cups/easysw/current@3618 a1ca3aef-8c08-0410-bb20-df032aa958be
Diffstat (limited to 'tools')
-rw-r--r-- | tools/makeipptoolpkg | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/makeipptoolpkg b/tools/makeipptoolpkg index ba471ca06..74890032d 100644 --- a/tools/makeipptoolpkg +++ b/tools/makeipptoolpkg @@ -23,6 +23,12 @@ if test ! -f tools/makeipptoolpkg; then exit 1 fi +uname="`uname | awk '{print tolower($1)}'`" +if test "x$1" = xlsb; then + shift + uname="linux-lsb" +fi + if test $# = 0; then echo Updating to get snapshot version... svn up @@ -61,27 +67,21 @@ cp test/onepage-*.ps $pkgdir cp test/testfile.* $pkgdir if test `uname` = Darwin; then - echo Creating disk image... pkgfile="$pkgdir-macosx-universal.dmg" + echo Creating disk image $pkgfile... test -f $pkgfile && rm $pkgfile hdiutil create -srcfolder $pkgdir $pkgfile #sudo chown `whoami` $pkgfile else - echo Creating archive... - pkgfile="$pkgdir-`uname`-`uname -m`.tar.gz" + pkgfile="$pkgdir-$uname-`uname -m`.tar.gz" + echo Creating archive $pkgfile... tar czf $pkgfile $pkgdir || exit 1 fi -if test -x /usr/bin/md5sum; then - (md5sum $pkgfile | awk '{print $1, "'$fileversion' cups/ipptool/" $2}') -elif test -x /sbin/md5; then - (md5 $pkgfile | awk '{print $4, "'$fileversion' cups/ipptool/" substr($2, 2, length($2) - 2)}') -fi - echo Removing temporary files... rm -r $pkgdir -echo "Done!" +echo Done. # # End of "$Id$". |