Added SILC Thread Queue API
[crypto.git] / scripts / silcdoc / gen.sh
index 7b5b0158f94ffa92fdeecd61d65b36bb373459cc..3fe9452afe96a069536cf6866e90cb1bfa0a2c68 100755 (executable)
@@ -1,8 +1,8 @@
 #!/bin/sh
 
 cat << EOF > tmp.php
-<?php \$page="$3"; \$dest="$1"; require "$2"; ?>
+<?php \$page="$4"; \$dest="$1"; \$type="$3"; require "$2"; ?>
 EOF
-php -f tmp.php >$4.tmp
-mv $4.tmp $4
+php -f tmp.php >"$5".tmp
+mv "$5".tmp "$5"
 rm -f tmp.php