Merge branch 'rtoy-html-support-external-docs'
[maxima.git] / archive / bin / fix-path
blobdc59df19afe92bbfd0ec512d68306dff4f63547c
1 #!/bin/sh
2 cp $1 foo.bak
3 NEW=$2
4 if [ -f ${NEW}/src/make.lisp ] ; then true;
5 else echo "${NEW}" is not a suitable path ;
6 exit 1; fi
8 echo using ${NEW}
10 cat foo.bak | sed -e "s:\([ \"]\)[a-z/]*/public/maxima:\\1${NEW}:g" > $1