correct installscripts for omnios
This commit is contained in:
parent
9083ad65a0
commit
42eb38d71e
2
build.sh
2
build.sh
@ -208,7 +208,7 @@ cd ${WORLD_ROOT}
|
|||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "===================================================================="
|
echo "===================================================================="
|
||||||
echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-A.tgz"
|
echo " Creating archie-${ARCHIE_VER}-${SYSTYPE}-${SOLMACHINE}-B.tgz"
|
||||||
echo "===================================================================="
|
echo "===================================================================="
|
||||||
echo ""
|
echo ""
|
||||||
cd ${RELEASE_DIR}/B
|
cd ${RELEASE_DIR}/B
|
||||||
|
@ -39,6 +39,10 @@ TAR=tar
|
|||||||
GZIP=gzip
|
GZIP=gzip
|
||||||
MIDX=9;
|
MIDX=9;
|
||||||
|
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
SCRIPT_DIR="$(pwd)"
|
||||||
|
echo "Script directory: $SCRIPT_DIR"
|
||||||
|
|
||||||
# For solaris ...
|
# For solaris ...
|
||||||
PATH=/usr/ucb:$PATH
|
PATH=/usr/ucb:$PATH
|
||||||
|
|
||||||
@ -88,11 +92,11 @@ echo " The simple script, \`unrotate' has been supplied to unrotate files i
|
|||||||
echo " a given directory, should something go wrong."
|
echo " a given directory, should something go wrong."
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
$GZIP -d < $1 | $TAR -tf - | while read file
|
$GZIP -d < $SCRIPT_DIR/$1 | $TAR -tf - | while read file
|
||||||
do
|
do
|
||||||
cd $directory
|
cd $directory
|
||||||
echo $file
|
echo $file
|
||||||
test -f $file && rotate $file $idx && echo "Rotated old file $file"
|
test -f $file && rotate $file $idx && echo "Rotated old file $file"
|
||||||
done
|
done
|
||||||
|
|
||||||
$GZIP -d < $1 | (cd $directory ; $TAR -xvpf - )
|
$GZIP -d < $SCRIPT_DIR/$1 | (cd $directory ; $TAR -xvpf - )
|
||||||
|
@ -70,7 +70,7 @@ set MACHINE=`uname -m`
|
|||||||
|
|
||||||
set dirname=`dirname $0`
|
set dirname=`dirname $0`
|
||||||
|
|
||||||
if ( $MACHINE = "sun4m" ) then
|
if ( "$MACHINE" == "sun4m" ) then
|
||||||
switch ($ARCH)
|
switch ($ARCH)
|
||||||
case SunOS:
|
case SunOS:
|
||||||
if ( `uname -r` == 5.6 ) then
|
if ( `uname -r` == 5.6 ) then
|
||||||
@ -92,7 +92,7 @@ switch ($ARCH)
|
|||||||
endsw
|
endsw
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if ( $MACHINE = "i86pc" ) then
|
if ( "$MACHINE" == "i86pc" ) then
|
||||||
switch ($ARCH)
|
switch ($ARCH)
|
||||||
case SunOS:
|
case SunOS:
|
||||||
if ( `uname -r` == 5.11 ) then
|
if ( `uname -r` == 5.11 ) then
|
||||||
|
Loading…
Reference in New Issue
Block a user