build.sh 307 B

1234567891011
  1. #!/bin/sh
  2. echo "build.sh: superceded by makepackage"
  3. exit 1
  4. POPTOPVERSION=`./version`
  5. CURRENTDIR=`pwd`
  6. THISDIR=${CURRENTDIR##*/}
  7. if [ -f /etc/redhat-release ]; then
  8. tar -czf /usr/src/redhat/SOURCES/pptpd-${POPTOPVERSION}.tar.gz .
  9. rpmbuild -ta /usr/src/redhat/SOURCES/pptpd-${POPTOPVERSION}.tar.gz
  10. fi