projects
/
runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
updates
[runtime.git]
/
scripts
/
silcdoc
/
gen.sh
diff --git
a/scripts/silcdoc/gen.sh
b/scripts/silcdoc/gen.sh
index b11cff5cee62b74e39734bf53dfcfda3c815733b..7b5b0158f94ffa92fdeecd61d65b36bb373459cc 100755
(executable)
--- a/
scripts/silcdoc/gen.sh
+++ b/
scripts/silcdoc/gen.sh
@@
-1,8
+1,8
@@
#!/bin/sh
cat << EOF > tmp.php
-<?php \$page="$
2"; require "$1
"; ?>
+<?php \$page="$
3"; \$dest="$1"; require "$2
"; ?>
EOF
-php -f tmp.php >$
3
.tmp
-mv $
3.tmp $3
+php -f tmp.php >$
4
.tmp
+mv $
4.tmp $4
rm -f tmp.php