Lines Matching refs:WDIR

250 	typeset src_dir=$WDIR
381 $WDIR $dst 2>${scp_err_msg}
384 print "src dir: '$WDIR'\ndst dir: '$dst'"
493 if [[ ! -d "$WDIR" ]]; then
494 print "\nERROR: webrev directory '$WDIR' does not exist"
504 $FIND $WDIR -type d -name closed \
507 print "\nERROR: directory '$WDIR' contains" \
922 # $WDIR/DIR/$TNAME.lhs.html
923 # $WDIR/DIR/$TNAME.rhs.html
924 # $WDIR/DIR/$TNAME.frames.html
926 # NOTE: We rely on standard usage of $WDIR and $DIR.
937 # Enable html files to access WDIR via a relative path.
938 RTOP=$(relative_dir $TPATH $WDIR)
941 print "$HTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.lhs.html
943 cat >> $WDIR/$DIR/$TNAME.lhs.html <<-EOF
951 cp $WDIR/$DIR/$TNAME.lhs.html $WDIR/$DIR/$TNAME.rhs.html
953 insert_anchors $lhsfile >> $WDIR/$DIR/$TNAME.lhs.html
954 insert_anchors $rhsfile >> $WDIR/$DIR/$TNAME.rhs.html
958 print $close >> $WDIR/$DIR/$TNAME.lhs.html
959 print $close >> $WDIR/$DIR/$TNAME.rhs.html
961 print "$FRAMEHTML<head>$STDHEAD" > $WDIR/$DIR/$TNAME.frames.html
963 "$TPATH/$TNAME</title> </head>" >> $WDIR/$DIR/$TNAME.frames.html
964 cat >> $WDIR/$DIR/$TNAME.frames.html <<-EOF
1133 # the correct arcnav links for files in $WDIR.
1142 # not end up using $RTOP/file for files in $WDIR.
2095 typeset WDIR=$1
2103 typeset olddir="$WDIR/raw_files/old"
2104 typeset newdir="$WDIR/raw_files/new"
2152 WDIR: Control the output directory.
2283 WDIR=${OPTARG%/};;
2890 WDIR=${WDIR:-$CWS/webrev}
2897 WNAME=${WDIR##*/}
2971 if [ "${WDIR%%/*}" ]; then
2972 WDIR=$PWD/$WDIR
2975 if [[ ! -d $WDIR ]]; then
2976 mkdir -p $WDIR
2991 print " Output to: $WDIR"
2996 [[ ! $FLIST -ef $WDIR/file.list ]] && cp $FLIST $WDIR/file.list
2998 rm -f $WDIR/$WNAME.patch
2999 rm -f $WDIR/$WNAME.ps
3000 rm -f $WDIR/$WNAME.pdf
3002 touch $WDIR/$WNAME.patch
3105 mkdir -p $WDIR/$DIR
3108 # We stash old and new files into parallel directories in $WDIR
3113 build_old_new "$WDIR" "$PWS" "$PDIR" "$PF" "$CWS" "$DIR" "$F" || \
3122 cd $WDIR/raw_files
3162 rm -f $WDIR/$DIR/$F.patch
3166 > $WDIR/$DIR/$F.patch
3169 > $WDIR/$DIR/$F.patch
3171 diff -u $ofile $nfile > $WDIR/$DIR/$F.patch
3175 > $WDIR/$DIR/$F.patch
3178 >> $WDIR/$DIR/$F.patch
3185 cat $WDIR/$DIR/$F.patch >> $WDIR/$WNAME.patch
3189 ${CDIFFCMD:-diff -bt -C 5} $ofile $nfile > $WDIR/$DIR/$F.cdiff
3190 diff_to_html $F $DIR/$F "C" "$COMM" < $WDIR/$DIR/$F.cdiff \
3191 > $WDIR/$DIR/$F.cdiff.html
3194 ${UDIFFCMD:-diff -bt -U 5} $ofile $nfile > $WDIR/$DIR/$F.udiff
3195 diff_to_html $F $DIR/$F "U" "$COMM" < $WDIR/$DIR/$F.udiff \
3196 > $WDIR/$DIR/$F.udiff.html
3202 $WDIR/$DIR/$F.wdiff.html 2>/dev/null
3211 > $WDIR/$DIR/$F.sdiff.html
3215 rm -f $WDIR/$DIR/$F.cdiff $WDIR/$DIR/$F.udiff
3216 difflines $ofile $nfile > $WDIR/$DIR/$F.count
3219 difflines $ofile $nfile > $WDIR/$DIR/$F.count
3222 difflines /dev/null $nfile > $WDIR/$DIR/$F.count
3225 difflines $ofile /dev/null > $WDIR/$DIR/$F.count
3237 print "$MANCSS" > $WDIR/raw_files/new/$DIR/man.css
3245 $nfile.man.txt > $WDIR/$DIR/$F.man.cdiff
3247 $WDIR/$DIR/$F.man.cdiff > \
3248 $WDIR/$DIR/$F.man.cdiff.html
3251 $nfile.man.txt > $WDIR/$DIR/$F.man.udiff
3253 $WDIR/$DIR/$F.man.udiff > \
3254 $WDIR/$DIR/$F.man.udiff.html
3259 $WDIR/$DIR/$F.man.wdiff.html 2>/dev/null
3267 "$COMM" > $WDIR/$DIR/$F.man.sdiff.html
3272 rm -f $WDIR/$DIR/$F.man.cdiff $WDIR/$DIR/$F.man.udiff
3290 cat /tmp/$$.psfile >> $WDIR/$WNAME.ps
3301 source_to_html Old $PP < $ofile > $WDIR/$DIR/$F-.html
3306 source_to_html New $P < $nfile > $WDIR/$DIR/$F.html
3315 frame_nav_js > $WDIR/ancnav.js
3316 frame_navigation > $WDIR/ancnav.html
3318 if [[ ! -f $WDIR/$WNAME.ps ]]; then
3322 fix_postscript $WDIR/$WNAME.ps | $PS2PDF - > $WDIR/$WNAME.pdf
3328 # If we're in OpenSolaris mode and there's a closed dir under $WDIR,
3332 $FIND $WDIR -type d -name closed -exec /bin/rm -rf {} \;
3341 print "$TOTL" > $WDIR/TotalChangedLines
3344 INDEXFILE=$WDIR/index.html
3403 if [[ -f $WDIR/$WNAME.patch ]]; then
3408 if [[ -f $WDIR/$WNAME.pdf ]]; then
3439 cmp $WDIR/raw_files/old/$PP $WDIR/raw_files/new/$P > /dev/null 2>&1
3453 F=$WDIR/$P
3505 if [[ -f $WDIR/raw_files/new/$P ]]; then
3545 -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3571 if [[ -f $WDIR/raw_files/new/$P.man.txt.html ]]; then
3605 if [[ -f $WDIR/raw_files/old/$PP ]]; then
3606 old_mode=`get_file_mode $WDIR/raw_files/old/$PP`
3610 if [[ -f $WDIR/raw_files/new/$P ]]; then
3611 new_mode=`get_file_mode $WDIR/raw_files/new/$P`