projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merged silc_1_0_branch to trunk.
[silc.git]
/
scripts
/
silcdoc
/
gen.sh
diff --git
a/scripts/silcdoc/gen.sh
b/scripts/silcdoc/gen.sh
index c09c9af2859360d42ddb402dac3883e9566d73de..3fe9452afe96a069536cf6866e90cb1bfa0a2c68 100755
(executable)
--- a/
scripts/silcdoc/gen.sh
+++ b/
scripts/silcdoc/gen.sh
@@
-3,6
+3,6
@@
cat << EOF > tmp.php
<?php \$page="$4"; \$dest="$1"; \$type="$3"; require "$2"; ?>
EOF
-php -f tmp.php >
$5
.tmp
-mv
$5.tmp $5
+php -f tmp.php >
"$5"
.tmp
+mv
"$5".tmp "$5"
rm -f tmp.php