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: 24-Oct-2006 10:10:21 Branch: HEAD Handle: 2006102409102000 Modified files: openpkg-tools/cmd dev.sh Log: remove legacy and compatibility code Summary: Revision Changes Path 1.84 +0 -23 openpkg-tools/cmd/dev.sh ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-tools/cmd/dev.sh ============================================================================ $ cvs diff -u -r1.83 -r1.84 dev.sh --- openpkg-tools/cmd/dev.sh 22 Oct 2006 08:18:46 -0000 1.83 +++ openpkg-tools/cmd/dev.sh 24 Oct 2006 08:10:20 -0000 1.84 @@ -185,12 +185,6 @@ # output as "HEAD_STICKY" which means that this becomes a third # "hardcoded" pseudotag. -# override configuration from ${HOME}/.openpkg-dev.rc (LEGACY) -if [ -f ${HOME}/.openpkg-dev.rc ]; then - echo "openpkg:dev:WARNING: legacy ~/.openpkg-dev.rc found (please rename to ~/.openpkg/dev.rc)" 1>&2 - . ${HOME}/.openpkg-dev.rc -fi - # override configuration from ${HOME}/.openpkg/dev.rc (OFFICIAL) if [ -f ${HOME}/.openpkg/dev.rc ]; then . ${HOME}/.openpkg/dev.rc @@ -1760,23 +1754,6 @@ # developer section if [ ".${OPENPKG_MODE}" = .developer ]; then - # compatiblity FIXME - echo "${OPENPKG_DIST}" | ${EGREP} "/current/SRC/?$" >/dev/null 2>&1 - if [ $? -eq 0 ]; then - warn "deprecated suffix /current/src in OPENPKG_DIST=${OPENPKG_DIST}." - warn "This might come from your ~/.openpkg/dev.rc file. Please fix." - warn "Three second penalty :-)" - sleep 3 - OPENPKG_DIST=`echo ${OPENPKG_DIST} | sed -e 's;/$;;' -e 's;/current/SRC$;;'` - fi - if [ ".${OPENPKG_WILD}" != . ]; then - warn "deprecated use of OPENPKG_WILD. Do not use it." - warn "Please list all instances in OPENPKG_INST (space delimited)." - warn "This might come from your ~/.openpkg/dev.rc file. Please fix." - warn "Three second penalty :-)" - sleep 3 - fi - echo "++ determine [no]src extension" ext="" [ -f "${OPENPKG_WORK}/pkg/src/${rpmfile}.src.rpm" ] && ext="src.rpm" @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org