- Minor cleanup,
- Use $Name CVS tag in version print out.
This commit is contained in:
parent
2d810ded10
commit
f6ac4f0426
21
bin/envmng
21
bin/envmng
@ -1,7 +1,7 @@
|
||||
# $RCS envmng,v $
|
||||
# $Revision: 1.2 $
|
||||
# $Revision: 1.3 $
|
||||
# $Name: $
|
||||
# $Date: 2009/01/13 13:27:53 $
|
||||
# $Date: 2009/01/13 14:07:53 $
|
||||
# $Author: agibert $
|
||||
|
||||
# envmng - Unix shell Environment Manager
|
||||
@ -27,6 +27,12 @@ EnvMng_Cmd="$1"
|
||||
EnvMng_Env="$2"
|
||||
EnvMng_Opt="$3"
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# Installation Configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
envmng_prefix=/usr/local/bin
|
||||
envmng_d=$envmng_prefix/etc/envmng.d
|
||||
envmng_id=$envmng_prefix/etc/envmng_id
|
||||
@ -34,6 +40,12 @@ envmng_protvar=$envmng_prefix/etc/envmng_protvar
|
||||
envmng_protalias=$envmng_prefix/etc/envmng_protalias
|
||||
envmng_display=$envmng_prefix/etc/envmng_display
|
||||
|
||||
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
# System configuration
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
basename=/bin/basename
|
||||
env=/bin/env
|
||||
sed=/bin/sed
|
||||
@ -42,6 +54,8 @@ printf=/bin/printf
|
||||
|
||||
alias envmng=". $envmng_prefix/bin/envmng"
|
||||
|
||||
#-------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
envmng_rlist()
|
||||
@ -297,7 +311,8 @@ case "$EnvMng_Cmd" in
|
||||
;;
|
||||
|
||||
-V | --version)
|
||||
echo "envmng V 1.2"
|
||||
echo -n "envmng V "
|
||||
echo "$Name: $" | sed -e 's/^[^-]*-//' -e 's/ .*//' -e 's/_/./g'
|
||||
;;
|
||||
|
||||
*)
|
||||
|
Loading…
Reference in New Issue
Block a user