repo.or.cz
/
maxima.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'rtoy-html-support-external-docs'
[maxima.git]
/
archive
/
bin
/
fix-path
blob
dc59df19afe92bbfd0ec512d68306dff4f63547c
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
7
8
echo
using
${NEW}
9
10
cat
foo.bak |
sed
-e
"s:\([
\"
]\)[a-z/]*/public/maxima:
\\
1
${NEW}
:g"
>
$1
11
12
13
14
15
16