OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Thomas Lotterer
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-tools Date: 26-Oct-2006 22:02:00
Branch: HEAD Handle: 2006102621015800
Modified files:
openpkg-tools/cmd dev.sh
Log:
compatiblity hint for developers, telling them about the new
OPENPKG_SAVE config
Summary:
Revision Changes Path
1.89 +12 -0 openpkg-tools/cmd/dev.sh
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-tools/cmd/dev.sh
============================================================================
$ cvs diff -u -r1.88 -r1.89 dev.sh
--- openpkg-tools/cmd/dev.sh 24 Oct 2006 10:40:09 -0000 1.88
+++ openpkg-tools/cmd/dev.sh 26 Oct 2006 20:01:58 -0000 1.89
@@ -2980,6 +2980,18 @@
[ ".${OPENPKG_REPO}" = . ] && die "OPENPKG_REPO is not set";
[ ".${OPENPKG_SAVE}" = . ] && die "OPENPKG_SAVE is not set";
+# compatiblity FIXME
+echo "${OPENPKG_DIST}" | ${EGREP} '[^a-zA-Z0-9_]' >/dev/null 2>&1
+if [ $? -eq 0 ]; then
+ warn "deprecated use of OPENPKG_DIST=${OPENPKG_DIST}."
+ warn "Variable was renamed to OPENPKG_SAVE. See manual page."
+ warn "This might come from your ~/.openpkg/dev.rc file. Please fix."
+ warn "Three second penalty :-)"
+ sleep 3
+ OPENPKG_SAVE=${OPENPKG_DIST}
+ OPENPKG_DIST=""
+fi
+
# handle command
case ${cmd} in
bash | ba* ) cmd="bash" ;;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]