Changeset 3d1b542


Ignore:
Timestamp:
06/23/2006 05:35:28 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
1.0, 2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
dd29d02
Parents:
a03a4aa
Message:

Removed duplicated VERSION declarations.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • common/common-functions

    ra03a4aa r3d1b542  
    580580      else
    581581        echo -ne "done\n"
    582         # Set the canonical book version
    583         cd $JHALFSDIR
    584         VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    585          # Another work-around, clfs book has a x.x.x-date versioning system
    586          if [ "$PROGNAME" = "clfs" ]; then
    587            VERSION=${VERSION##*-}
    588          fi
    589582        extract_commands
    590583      fi
     
    595588      esac
    596589      echo -ne "done\n"
    597       # Set the canonical book version
    598       cd $JHALFSDIR
    599       VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    600       # Another work-around, clfs book has a x.x.x-date versioning system
    601       if [ "$PROGNAME" = "clfs" ]; then
    602         VERSION=${VERSION##*-}
    603       fi
    604590      extract_commands
    605591    fi
    606592  else
    607593    echo -ne "Using $BOOK as book's sources ...\n"
    608     # Set the canonical book version
    609     cd $JHALFSDIR
    610     VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
    611     # Another work-around, clfs book has a x.x.x-date versioning system
    612     if [ "$PROGNAME" = "clfs" ]; then
    613       VERSION=${VERSION##*-}
    614     fi
    615594    extract_commands
    616595  fi
     
    627606  cd $JHALFSDIR
    628607  VERSION=`grep "ENTITY version " $BOOK/general.ent | sed 's@<!ENTITY version "@@;s@">@@'`
     608  # Another work-around, clfs book has a x.x.x-date versioning system
     609  if [ "$PROGNAME" = "clfs" ]; then
     610    VERSION=${VERSION##*-}
     611  fi
    629612
    630613  # Start clean
  • master.sh

    ra03a4aa r3d1b542  
    508508  #
    509509  [[ "$GETPKG" = "1" ]] && cp $COMMON_DIR/urls.xsl  $JHALFSDIR/
     510  #
    510511  cp $COMMON_DIR/packages.xsl  $JHALFSDIR/
    511512  #
Note: See TracChangeset for help on using the changeset viewer.