-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Piotr Jasiukajtis / estibi pisze:
> Hello,
>
> I know I should use SXDE but ...
> I upgraded SXCE89 with my BFU.
> ON and SUNWonbld is compiled and installed from latest onnv-gate.
>
> # uname -srv
> SunOS 5.11 ON-20080529-d
>
> I have also installed Sun Studio 11.
>
>
>
> root at devhost1 /export/ohac/ohac# /opt/scbld/bin/nbuild -Da
> /opt/scbld/bin/nbuild[8]: :DO: is not an identifier
>
> I added some 'echo "debug"' to the /opt/scbld/bin/nbuild and i have
> found there is a problem with Clear_env function:
>
>
> Clear_env() {
> echo "debug clear_env 1"
> for v in Nothing $(/bin/env | sed -ne 's/=.*//p'); do
> echo "debug clear_env 2"
> case "$v" in
>
> MAKE|MAKEFLAGS|MAKETOOLS|HOME|LOGNAME|USER|OS|TEAMWARE|OPTHOME|WEBBASE)
> ;;
> [TV]_FLAG)
> ;;
> *)
> echo "unset $v"
> unset $v;;
> esac
> done
> echo "debug clear_env exit"
> }
>
>
>
> root at devhost1 /export/ohac/ohac# /opt/scbld/bin/nbuild
> debug16
> debug1234
> debug before 1
> debug before 2
> debug clear_env 1
> debug clear_env 2
> unset Nothing
> debug clear_env 2
> unset _
> debug clear_env 2
> unset SSH_TTY
> debug clear_env 2
> unset PATH
> debug clear_env 2
> unset OLDPWD
> debug clear_env 2
> debug clear_env 2
> unset STY
> debug clear_env 2
> unset MAIL
> debug clear_env 2
> unset PS1
> debug clear_env 2
> unset PS3
> debug clear_env 2
> unset PS2
> debug clear_env 2
> unset TERMCAP
> debug clear_env 2
> unset :DO
> /opt/scbld/bin/nbuild[11]: :DO: is not an identifier
> root at devhost1 /export/ohac/ohac#
>
>
root at devhost1 /export/ohac/ohac# /bin/env | sed -ne 's/=.*//p'
TERM
SHELL
SSH_CLIENT
OLDPWD
SSH_TTY
USER
TERMCAP
:DO
:cd
:do
:le
:li#24:co#80:am:xn:xv:LP:sr
:cs
:ke
:ti
:se
:Co#8:pa#64:AF
:as
:ac
:k0
:k6
:F1
:K4
:kN
:kr
PATH
MAIL
STY
PWD
TZ
PS1
PS3
PS2
SHLVL
HOME
LOGNAME
WINDOW
SSH_CONNECTION
_
root at devhost1 /export/ohac/ohac#
- --
Piotr Jasiukajtis | estibi | SCA OS0072
http://estseg.blogspot.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkhChzIACgkQhlyfmo4JZ9g0bwCdFqVyGc8hsFs5M2M8ivivQKSb
zYsAnRjkjGD9hj0qTk99KghibTpufBYu
=ZVZ1
-----END PGP SIGNATURE-----