- Timestamp:
- 03/17/08 15:20:57 (5 years ago)
- Location:
- scripts/watch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/watch/watch.php
r3028 r3341 4 4 // Based on Debian DEHS http://svn.debian.org/wsvn/dehs 5 5 // 6 // Updated: 200 7-10-30 10:11 +330 GMT6 // Updated: 2008-03-17 08:36 +0100 GMT 7 7 8 8 $vars=$_GET["vars"]; 9 $dist_name="viola"; 9 10 uscan($vars); 10 11 … … 13 14 14 15 function uscan($vars){ 15 $svn_url="http://svn.debian.org/svn/pkg-parsix/pkg ";16 $svn_url="http://svn.debian.org/svn/pkg-parsix/pkg/".$dist_name; 16 17 $arrvars=explode("*", $vars); 17 18 $path = $arrvars[0]; -
scripts/watch/watch.sh
r3028 r3341 3 3 # Coyright 2007 Alan Baghumian / GNU/GPL 4 4 # 5 # Updated: 2008-0 1-29 12:46 +330 GMT5 # Updated: 2008-03-17 08:37 +0100 GMT 6 6 # 7 7 # Requires: lynx, devscripts, tail, awk, sed … … 12 12 LOGS_PATH="/home/parsix/public_html/buildlogs" 13 13 LOCAL_REPO="/home/parsix/public_html/packages/pool" 14 SVN_REPO="/svn/pkg-parsix/" 14 SVN_REPO="/svn/pkg-parsix/pkg" 15 DIST_NAME="viola" 15 16 UNDERLINE=$'\137' # 137 is octal ASCII code for '_' 16 17 … … 26 27 27 28 #LIST=`find $SVN_REPO -name watch | grep debian | grep trunk | sort -u` 28 LIST=`find $SVN_REPO -type d -name debian | grep trunk | sort -u`29 LIST=`find $SVN_REPO/$DIST_NAME -type d -name debian | grep trunk | sort -u` 29 30 30 31 for x in $LIST … … 35 36 PKG=`basename ${x/%trunk\/debian/}` 36 37 LORPATH=`find $LOCAL_REPO -type d | grep $PKG` 37 cd $SVN_REPO/ pkg/38 cd $SVN_REPO/$DIST_NAME/ 38 39 COMPONENT=`find ./ -maxdepth 2 -type d | grep /$PKG$ | awk 'BEGIN{FS="/"}{print $2}'` 39 40 if [ -d $COMPONENT/$PKG ]; then
Note: See TracChangeset
for help on using the changeset viewer.


