VirtualBox

Changeset 8122 in vbox


Ignore:
Timestamp:
Apr 18, 2008 8:08:15 AM (17 years ago)
Author:
vboxsync
Message:

Solaris guest installer: fixed pstamp name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/makepackage.sh

    r8121 r8122  
    2525
    2626MY_PKGNAME=SUNWvboxguest
    27 MY_GREP=/usr/sfw/bin/ggrep
     27MY_GGREP=/usr/sfw/bin/ggrep
    2828MY_AWK=/usr/bin/awk
    2929
    3030# check for GNU grep we use which might not ship with all Solaris
    31 if test ! -f "$MY_GREP" || test ! -h "$MY_GREP"; then
    32     echo "## GNU grep not found in $MY_GREP."
     31if test ! -f "$MY_GGREP" || test ! -h "$MY_GGREP"; then
     32    echo "## GNU grep not found in $MY_GGREP."
    3333    exit 1
    3434fi
    3535
    36 # prepare file list.
     36# prepare file list
    3737cd "$1"
    3838echo 'i pkginfo=./vboxguest.pkginfo' > prototype
     
    4141echo 'i space=./vboxguest.space' >> prototype
    4242echo '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 >> prototype
     43find . -print | $MY_GGREP -v -E 'prototype|makepackage.sh|vboxguest.pkginfo|postinstall.sh|preremove.sh|vboxguest.space' | pkgproto >> prototype
    4444
    4545# don't grok for the sed class files
     
    5757
    5858# explicitly set timestamp to shutup warning
    59 VBOXPKG_TIMESTAMP=vbox`date '+%Y%m%d%H%M%S'`
     59VBOXPKG_TIMESTAMP=vboxguest`date '+%Y%m%d%H%M%S'`
    6060
    6161# create the package instance
     
    6565fi
    6666
    67 # translate into package datastream (errors are sent to stderr)
     67# translate into package datastream
    6868pkgtrans -s -o /var/spool/pkg `pwd`/$2 "$MY_PKGNAME"
    6969if test $? -ne 0; then
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette