Changeset 1554


Ignore:
Timestamp:
06/29/07 20:56:16 (6 years ago)
Author:
alanbach-guest
Message:

Some more fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • scripts/watch.sh

    r1553 r1554  
    2626 
    2727# ARCH Checks 
    28 PKG=`basename ${x/%trunk\/debian\/watch/}` 
    29  
    30 COUNT=`/usr/bin/find $LOCAL_REPO | /bin/grep $PKG | /bin/grep -c amd64.deb` 
     28PKG=`/usr/bin/basename ${x/%trunk\/debian\/watch/}` 
     29PATH=`/usr/bin/find $LOCAL_REPO -type d | /bin/grep $PKG` 
     30COUNT=`/usr/bin/find $PATH | /bin/grep -c amd64.deb` 
    3131if [ $COUNT -ne 0 ]; then 
    3232        AMD64="amd64" 
     
    3535fi 
    3636 
    37 COUNT=`find $LOCAL_REPO | /bin/grep $PKG | /bin/grep -c i386.deb` 
     37COUNT=`/usr/bin/find $PATH | /bin/grep -c i386.deb` 
    3838if [ $COUNT -ne 0 ]; then 
    3939        I386="i386" 
     
    4242fi 
    4343 
    44 COUNT=`find $LOCAL_REPO | /bin/grep $PKG | /bin/grep -c all.deb` 
     44COUNT=`/usr/bin/find $PATH | /bin/grep -c all.deb` 
    4545if [ $COUNT -ne 0 ]; then 
    4646        ALLARCH="all" 
     
    5252 
    5353# work around the plus bug 
    54 x=`echo $x | awk '{ gsub(/+/, "KKK"); print }'` 
     54x=`echo $x | /usr/bin/awk '{ gsub(/+/, "KKK"); print }'` 
    5555 
    56 lynx -source $BASE_URL/watch.php?vars=${x/%debian\/watch/}*$ARCHS | sed s/Debian/Parsix/g >> $BASE_PATH/index.html 
     56/usr/bin/lynx -source $BASE_URL/watch.php?vars=${x/%debian\/watch/}*$ARCHS | /bin/sed s/Debian/Parsix/g >> $BASE_PATH/index.html 
    5757 
    5858done 
    5959 
    60 echo "<p align=center>Last Update: `date`</p>" >> $BASE_PATH/index.html 
     60echo "<p align=center>Last Update: `/bin/date`</p>" >> $BASE_PATH/index.html 
    6161 
    6262echo $FOOTER >> $BASE_PATH/index.html 
Note: See TracChangeset for help on using the changeset viewer.