Author: dylan Date: 2005-01-07 17:53:56 -0500 (Fri, 07 Jan 2005) New Revision: 541
Modified: trunk/web/bin/validator.sh Log: validate, not validator. :P Modified: trunk/web/bin/validator.sh =================================================================== --- trunk/web/bin/validator.sh 2005-01-07 22:52:21 UTC (rev 540) +++ trunk/web/bin/validator.sh 2005-01-07 22:53:56 UTC (rev 541) @@ -1,8 +1,7 @@ #!/bin/bash - -if which validator &>/dev/null; then - validator $* +if which validate &>/dev/null; then + validate "$@" elif which xmllint &>/dev/null; then - xmllint --valid --noout $* + xmllint --valid --noout "$@" fi
