"Fossies" - the Fresh Open Source Software Archive

Member "ifhp-3.5.22/DISTRIBUTIONS/RPM.RedHat/UNPACKifhp" (3 Dec 2001, 570 Bytes) of package /linux/misc/old/ifhp-3.5.22.tgz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 #!/bin/sh
    2 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/sbin:/usr/kerberos/bin:/usr/bin:/bin:/usr/local/bin:/usr/X11R6/bin
    3 export PATH
    4 DIST=ifhp
    5 for i in `echo ${DIST}*[0-9]` ; do echo RM $i; mv $i x.$i ; rm -rf x.$i & done;
    6 echo REMOVE /usr/src/redhat/SRPM/${DIST}*tgz /usr/src/redhat/RPMS/*/${DIST}*rpm
    7 rm -f /usr/src/redhat/SRPM/${DIST}*tgz /usr/src/redhat/RPMS/*/${DIST}*rpm
    8 f=`ls /usr/src/redhat/SOURCES/${DIST}*tgz | tail -1`
    9 echo Using $f
   10 if [ -n "$f" ] ; then
   11     tar zxvf $f
   12     cd ${DIST}*/D*/RP*
   13     make checkit doU
   14 fi