First working version !
This commit is contained in:
1 parent
7366057dfa
commit
d601f481e1
33 files changed
+1783
-5
No files matched your search
@@ -0,0 +1,42 @@
|
||||
# $RCSfile: shell,v $
|
||||
# $Revision: 1.1 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/12 17:59:03 $
|
||||
# $Author: agibert $
|
||||
|
||||
case $BASH in
|
||||
*bash)
|
||||
shell=$BASH
|
||||
;;
|
||||
|
||||
*)
|
||||
shell=/usr/bin/ksh
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
|
||||
case "$shell"-$1 in
|
||||
*ksh-*profile)
|
||||
export ENV=$envmng_prefix/etc/envmng_rc
|
||||
;;
|
||||
|
||||
*bash-*profile)
|
||||
export ENV=$envmng_prefix/etc/envmng_rc
|
||||
;;
|
||||
|
||||
*ksh-*rc)
|
||||
alias __A=
|
||||
alias __B=
|
||||
alias __C=
|
||||
alias __D=
|
||||
;;
|
||||
|
||||
*bash-*rc)
|
||||
;;
|
||||
|
||||
|
||||
*)
|
||||
echo "$0: Invalid command: [$1] !"
|
||||
;;
|
||||
esac
|
||||
Reference in new issue
Block a user