Mercurial > dillo_port1.3
view install-dpi-local @ 1752:6ad8e023a9f0
AREA bug msg
http://www.weather.gov/ptwc/ doesn't work because it uses real numbers
rather than integers for coords. The 4.01 spec doesn't quite _rigorously_
state that real numbers are no good in that case, so far as I can see,
but it's pretty clearly the intention -- and html5 _does_ spell this out.
author | corvid <corvid@lavabit.com> |
---|---|
date | Thu, 21 Oct 2010 18:59:40 +0000 |
parents | 6b3e3782d258 |
children |
line wrap: on
line source
#!/bin/sh # # Install the dpi framework programs inside the user's account. # BASE="$HOME/.dillo" BASE2="$BASE/dpi" if [ -r $BASE/dpi_socket_dir ] ; then rm -r `cat $BASE/dpi_socket_dir` rm $BASE/dpi_socket_dir fi if [ ! -x dpid/dpid ] ; then echo "This script may only be run AFTER make." exit 1 fi # Try to communicate with any currently-running dpid to tell it # to stop itself and the dpi programs. dpidc stop if [ ! -d $BASE ] ; then mkdir $BASE fi if [ ! -d $BASE2 ] ; then mkdir $BASE2 fi cp dpid/dpid dpid/dpidc dpid/dpidrc $BASE strip $BASE/dpid $BASE/dpidc cd dpi for F in *.dpi ; do D="`echo $F | sed 's/\..*$//'`" if [ ! -d $BASE2/$D ] ; then mkdir $BASE2/$D fi cp $F $BASE2/$D strip $BASE2/$D/$F done cd ..