Update of /cvsroot/env-switcher/env-switcher/dist
In directory usw-pr-cvs1:/tmp/cvs-serv30001/dist
Modified Files:
buildrpm.sh
Log Message:
Make the RPM install into /opt/env-switcher (vs. /opt/env-switcher-$version)
so that we don't lose switcher.ini when we rpm -Uvh
Index: buildrpm.sh
===================================================================
RCS file: /cvsroot/env-switcher/env-switcher/dist/buildrpm.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** buildrpm.sh 27 Apr 2002 18:58:21 -0000 1.2
--- buildrpm.sh 27 Jul 2002 19:56:28 -0000 1.3
***************
*** 47,51 ****
#
! oscar_prefix="$oscar_prefix-$version"
echo "--> Using prefix: $oscar_prefix"
--- 47,56 ----
#
! # We want to install to /opt/env-switcher
! # (vs. /opt/env-switcher-$version) because otherwise, we'll lose
! # switcher.ini for every new version of the rpm that gets installed
! # (e.g., rpm -Uvh).
!
! #oscar_prefix="$oscar_prefix-$version"
echo "--> Using prefix: $oscar_prefix"
|