tests/test-gendoc
changeset 10282 08a0f04b56bd
parent 9485 7d6ac5d7917c
child 10971 cbe400a8e217
--- a/tests/test-gendoc	Mon Jan 25 00:05:22 2010 -0600
+++ b/tests/test-gendoc	Mon Jan 25 00:05:27 2010 -0600
@@ -1,13 +1,13 @@
 #!/bin/sh
 
 "$TESTDIR/hghave" rst2html || exit 80
-RST2HTML=$(which rst2html 2> /dev/null || which rst2html.py)
+RST2HTML=`which rst2html 2> /dev/null || which rst2html.py`
 
 HGENCODING=UTF-8
 export HGENCODING
 
 for PO in C $TESTDIR/../i18n/*.po; do
-    LOCALE=$(basename $PO .po)
+    LOCALE=`basename $PO .po`
     echo
     echo "% extracting documentation from $LOCALE"
     echo ".. -*- coding: utf-8 -*-" > gendoc-$LOCALE.txt