Changeset 8320 in vbox for trunk/src/VBox/Installer/solaris
- Timestamp:
- Apr 23, 2008 9:51:38 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/makepackage.sh
r8205 r8320 1 1 #!/bin/sh 2 set -e3 2 # Sun xVM VirtualBox 4 3 # VirtualBox Solaris package creation script. … … 49 48 fi 50 49 50 # bail out on non-zero exit status 51 set -e 51 52 52 53 # prepare file list … … 79 80 # create the package instance 80 81 pkgmk -p $VBOXPKG_TIMESTAMP -o -r . 81 if test $? -ne 0; then82 exit 183 fi84 82 85 83 # translate into package datastream 86 84 pkgtrans -s -o /var/spool/pkg "`pwd`/$VBOX_PKGFILE" "$VBOX_PKGNAME" 87 if test $? -ne 0; then88 exit 189 fi90 85 91 86 $VBOX_GTAR zcvf "$VBOX_ARCHIVE" "$VBOX_PKGFILE" autoresponse ReadMe.txt 92 87 93 if test $? -eq 0; then 94 echo "## Packaging and transfer completed successfully!" 95 fi 88 echo "## Packaging and transfer completed successfully!" 96 89 rm -rf "/var/spool/pkg/$VBOX_PKGNAME" 90 97 91 exit $? 98 92
Note:
See TracChangeset
for help on using the changeset viewer.