IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 35238 for trunk/dvodist/src


Ignore:
Timestamp:
Mar 5, 2013, 2:34:10 PM (13 years ago)
Author:
eugene
Message:

merge changes from eam_branches/ipp-20130207

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dvodist/src/generate

    r34748 r35238  
    66set htdocs  = ""
    77set rootdir  = ""
     8set rootwww  = ""
    89set args    = ""
    910set VERBOSE = 0
     
    2526   else
    2627     set rootdir = `echo $1 | tr = ' ' | awk '{print $2}'`
     28   endif
     29   breaksw;
     30  case --rootwww*
     31   if ("$1" == "--rootwww") then
     32     shift
     33     set rootwww = $1
     34   else
     35     set rootwww = `echo $1 | tr = ' ' | awk '{print $2}'`
    2736   endif
    2837   breaksw;
     
    4756  echo "htdocs : $htdocs"
    4857  echo "rootdir: $rootdir"
     58  echo "rootwww: $rootwww"
    4959  echo "input  : $args[1]"
    5060  echo "output : $args[2]"
     
    5363if ("$htdocs" == "") goto usage
    5464if ("$rootdir" == "") goto usage
     65if ("$rootwww" == "") goto usage
    5566
    56 cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" > $args[2]
     67cat $args[1] | sed "s|@HTDOCS@|$htdocs|" | sed "s|@ROOTDIR@|$rootdir|" | sed "s|@ROOTWWW@|$rootwww|" > $args[2]
    5768exit 0
    5869
Note: See TracChangeset for help on using the changeset viewer.