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
1967 typeset WDIR=$1
1975 typeset olddir="$WDIR/raw_files/old"
1976 typeset newdir="$WDIR/raw_files/new"
2137 WDIR=${OPTARG%/};;
2609 WDIR=${WDIR:-$CWS/webrev}
2616 WNAME=${WDIR##*/}
2691 WDIR=$PWD/$WDIR
2694 if [[ ! -d $WDIR ]]; then
2695 mkdir -p $WDIR
2710 print " Output to: $WDIR"
2715 [[ ! $FLIST -ef $WDIR/file.list ]] && cp $FLIST $WDIR/file.list
2717 rm -f $WDIR/$WNAME.patch
2718 rm -f $WDIR/$WNAME.ps
2719 rm -f $WDIR/$WNAME.pdf
2721 touch $WDIR/$WNAME.patch
2789 mkdir -p $WDIR/$DIR
2797 build_old_new "$WDIR" "$PWS" "$PDIR" "$PF" "$CWS" "$DIR" "$F" || \
2806 cd $WDIR/raw_files
2832 rm -f $WDIR/$DIR/$F.patch
2836 > $WDIR/$DIR/$F.patch
2839 > $WDIR/$DIR/$F.patch
2841 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch
2845 > $WDIR/$DIR/$F.patch
2848 >> $WDIR/$DIR/$F.patch
2855 cat $WDIR/$DIR/$F.patch >> $WDIR/$WNAME.patch
2859 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
2860 diff_to_html $F $DIR/$F "C" "$COMM" < $WDIR/$DIR/$F.cdiff \
2861 > $WDIR/$DIR/$F.cdiff.html
2864 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
2865 diff_to_html $F $DIR/$F "U" "$COMM" < $WDIR/$DIR/$F.udiff \
2866 > $WDIR/$DIR/$F.udiff.html
2872 $WDIR/$DIR/$F.wdiff.html 2>/dev/null
2881 > $WDIR/$DIR/$F.sdiff.html
2885 rm -f $WDIR/$DIR/$F.cdiff $WDIR/$DIR/$F.udiff
2886 difflines $ofile $nfile > $WDIR/$DIR/$F.count
2889 difflines $ofile $nfile > $WDIR/$DIR/$F.count
2892 difflines /dev/null $nfile > $WDIR/$DIR/$F.count
2895 difflines $ofile /dev/null > $WDIR/$DIR/$F.count
2907 print "$MANCSS" > $WDIR/raw_files/new/$DIR/man.css
2915 $nfile.man.txt > $WDIR/$DIR/$F.man.cdiff
2917 $WDIR/$DIR/$F.man.cdiff > \
2918 $WDIR/$DIR/$F.man.cdiff.html
2921 $nfile.man.txt > $WDIR/$DIR/$F.man.udiff
2923 $WDIR/$DIR/$F.man.udiff > \
2924 $WDIR/$DIR/$F.man.udiff.html
2929 $WDIR/$DIR/$F.man.wdiff.html 2>/dev/null
2937 "$COMM" > $WDIR/$DIR/$F.man.sdiff.html
2942 rm -f $WDIR/$DIR/$F.man.cdiff $WDIR/$DIR/$F.man.udiff
2960 cat /tmp/$$.psfile >> $WDIR/$WNAME.ps
2971 source_to_html Old $PP < $ofile > $WDIR/$DIR/$F-.html
2976 source_to_html New $P < $nfile > $WDIR/$DIR/$F.html
2985 frame_nav_js > $WDIR/ancnav.js
2986 frame_navigation > $WDIR/ancnav.html
2988 if [[ ! -f $WDIR/$WNAME.ps ]]; then
2992 fix_postscript $WDIR/$WNAME.ps | $PS2PDF - > $WDIR/$WNAME.pdf
3002 $FIND $WDIR -type d -name closed -exec /bin/rm -rf {} \;
3011 print "$TOTL" > $WDIR/TotalChangedLines
3014 INDEXFILE=$WDIR/index.html
3073 if [[ -f $WDIR/$WNAME.patch ]]; then
3078 if [[ -f $WDIR/$WNAME.pdf ]]; then
3109 cmp $WDIR/raw_files/old/$PP $WDIR/raw_files/new/$P > /dev/null 2>&1
3123 F=$WDIR/$P
3175 if [[ -f $WDIR/raw_files/new/$P ]]; then
3215 -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3241 if [[ -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3274 if [[ -f $WDIR/raw_files/old/$PP ]]; then
3275 old_mode=`get_file_mode $WDIR/raw_files/old/$PP`
3279 if [[ -f $WDIR/raw_files/new/$P ]]; then
3280 new_mode=`get_file_mode $WDIR/raw_files/new/$P`