updates.
[silc.git] / scripts / silcdoc / gen.sh
index 7b5b0158f94ffa92fdeecd61d65b36bb373459cc..c09c9af2859360d42ddb402dac3883e9566d73de 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