Lines Matching refs:WDIR

249 	typeset src_dir=$WDIR
380 $WDIR $dst 2>${scp_err_msg}
383 print "src dir: '$WDIR'\ndst dir: '$dst'"
492 if [[ ! -d "$WDIR" ]]; then
493 print "\nERROR: webrev directory '$WDIR' does not exist"
503 $FIND $WDIR -type d -name closed \
506 print "\nERROR: directory '$WDIR' contains" \
937 RTOP=$(relative_dir $TPATH $WDIR)
940 print "$HTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.lhs.html
942 cat >> $WDIR/$DIR/$TNAME.lhs.html <<-EOF
950 cp $WDIR/$DIR/$TNAME.lhs.html $WDIR/$DIR/$TNAME.rhs.html
952 insert_anchors $lhsfile >> $WDIR/$DIR/$TNAME.lhs.html
953 insert_anchors $rhsfile >> $WDIR/$DIR/$TNAME.rhs.html
957 print $close >> $WDIR/$DIR/$TNAME.lhs.html
958 print $close >> $WDIR/$DIR/$TNAME.rhs.html
960 print "$FRAMEHTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.frames.html
962 "$TPATH/$TNAME</title> </head>" >> $WDIR/$DIR/$TNAME.frames.html
963 cat >> $WDIR/$DIR/$TNAME.frames.html <<-EOF
2083 typeset WDIR=$1
2091 typeset olddir="$WDIR/raw_files/old"
2092 typeset newdir="$WDIR/raw_files/new"
2260 WDIR=${OPTARG%/};;
2843 WDIR=${WDIR:-$CWS/webrev}
2850 WNAME=${WDIR##*/}
2925 WDIR=$PWD/$WDIR
2928 if [[ ! -d $WDIR ]]; then
2929 mkdir -p $WDIR
2944 print " Output to: $WDIR"
2949 [[ ! $FLIST -ef $WDIR/file.list ]] && cp $FLIST $WDIR/file.list
2951 rm -f $WDIR/$WNAME.patch
2952 rm -f $WDIR/$WNAME.ps
2953 rm -f $WDIR/$WNAME.pdf
2955 touch $WDIR/$WNAME.patch
3058 mkdir -p $WDIR/$DIR
3066 build_old_new "$WDIR" "$PWS" "$PDIR" "$PF" "$CWS" "$DIR" "$F" || \
3075 cd $WDIR/raw_files
3101 rm -f $WDIR/$DIR/$F.patch
3105 > $WDIR/$DIR/$F.patch
3108 > $WDIR/$DIR/$F.patch
3110 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch
3114 > $WDIR/$DIR/$F.patch
3117 >> $WDIR/$DIR/$F.patch
3124 cat $WDIR/$DIR/$F.patch >> $WDIR/$WNAME.patch
3128 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
3129 diff_to_html $F $DIR/$F "C" "$COMM" < $WDIR/$DIR/$F.cdiff \
3130 > $WDIR/$DIR/$F.cdiff.html
3133 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
3134 diff_to_html $F $DIR/$F "U" "$COMM" < $WDIR/$DIR/$F.udiff \
3135 > $WDIR/$DIR/$F.udiff.html
3141 $WDIR/$DIR/$F.wdiff.html 2>/dev/null
3150 > $WDIR/$DIR/$F.sdiff.html
3154 rm -f $WDIR/$DIR/$F.cdiff $WDIR/$DIR/$F.udiff
3155 difflines $ofile $nfile > $WDIR/$DIR/$F.count
3158 difflines $ofile $nfile > $WDIR/$DIR/$F.count
3161 difflines /dev/null $nfile > $WDIR/$DIR/$F.count
3164 difflines $ofile /dev/null > $WDIR/$DIR/$F.count
3176 print "$MANCSS" > $WDIR/raw_files/new/$DIR/man.css
3184 $nfile.man.txt > $WDIR/$DIR/$F.man.cdiff
3186 $WDIR/$DIR/$F.man.cdiff > \
3187 $WDIR/$DIR/$F.man.cdiff.html
3190 $nfile.man.txt > $WDIR/$DIR/$F.man.udiff
3192 $WDIR/$DIR/$F.man.udiff > \
3193 $WDIR/$DIR/$F.man.udiff.html
3198 $WDIR/$DIR/$F.man.wdiff.html 2>/dev/null
3206 "$COMM" > $WDIR/$DIR/$F.man.sdiff.html
3211 rm -f $WDIR/$DIR/$F.man.cdiff $WDIR/$DIR/$F.man.udiff
3229 cat /tmp/$$.psfile >> $WDIR/$WNAME.ps
3240 source_to_html Old $PP < $ofile > $WDIR/$DIR/$F-.html
3245 source_to_html New $P < $nfile > $WDIR/$DIR/$F.html
3254 frame_nav_js > $WDIR/ancnav.js
3255 frame_navigation > $WDIR/ancnav.html
3257 if [[ ! -f $WDIR/$WNAME.ps ]]; then
3261 fix_postscript $WDIR/$WNAME.ps | $PS2PDF - > $WDIR/$WNAME.pdf
3271 $FIND $WDIR -type d -name closed -exec /bin/rm -rf {} \;
3280 print "$TOTL" > $WDIR/TotalChangedLines
3283 INDEXFILE=$WDIR/index.html
3342 if [[ -f $WDIR/$WNAME.patch ]]; then
3347 if [[ -f $WDIR/$WNAME.pdf ]]; then
3378 cmp $WDIR/raw_files/old/$PP $WDIR/raw_files/new/$P > /dev/null 2>&1
3392 F=$WDIR/$P
3444 if [[ -f $WDIR/raw_files/new/$P ]]; then
3484 -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3510 if [[ -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3544 if [[ -f $WDIR/raw_files/old/$PP ]]; then
3545 old_mode=`get_file_mode $WDIR/raw_files/old/$PP`
3549 if [[ -f $WDIR/raw_files/new/$P ]]; then
3550 new_mode=`get_file_mode $WDIR/raw_files/new/$P`