Changeset 8122 in vbox
- Timestamp:
- Apr 18, 2008 8:08:15 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/makepackage.sh
r8121 r8122 25 25 26 26 MY_PKGNAME=SUNWvboxguest 27 MY_G REP=/usr/sfw/bin/ggrep27 MY_GGREP=/usr/sfw/bin/ggrep 28 28 MY_AWK=/usr/bin/awk 29 29 30 30 # check for GNU grep we use which might not ship with all Solaris 31 if test ! -f "$MY_G REP" || test ! -h "$MY_GREP"; then32 echo "## GNU grep not found in $MY_G REP."31 if test ! -f "$MY_GGREP" || test ! -h "$MY_GGREP"; then 32 echo "## GNU grep not found in $MY_GGREP." 33 33 exit 1 34 34 fi 35 35 36 # prepare file list .36 # prepare file list 37 37 cd "$1" 38 38 echo 'i pkginfo=./vboxguest.pkginfo' > prototype … … 41 41 echo 'i space=./vboxguest.space' >> prototype 42 42 echo 'e sed /etc/devlink.tab ? ? ?' >> prototype 43 find . -print | /usr/sfw/bin/ggrep-v -E 'prototype|makepackage.sh|vboxguest.pkginfo|postinstall.sh|preremove.sh|vboxguest.space' | pkgproto >> prototype43 find . -print | $MY_GGREP -v -E 'prototype|makepackage.sh|vboxguest.pkginfo|postinstall.sh|preremove.sh|vboxguest.space' | pkgproto >> prototype 44 44 45 45 # don't grok for the sed class files … … 57 57 58 58 # explicitly set timestamp to shutup warning 59 VBOXPKG_TIMESTAMP=vbox `date '+%Y%m%d%H%M%S'`59 VBOXPKG_TIMESTAMP=vboxguest`date '+%Y%m%d%H%M%S'` 60 60 61 61 # create the package instance … … 65 65 fi 66 66 67 # translate into package datastream (errors are sent to stderr)67 # translate into package datastream 68 68 pkgtrans -s -o /var/spool/pkg `pwd`/$2 "$MY_PKGNAME" 69 69 if test $? -ne 0; then
Note:
See TracChangeset
for help on using the changeset viewer.