diff --git a/egs/timit/s5/cmd.sh b/egs/timit/s5/cmd.sh
index 046eb7db250074ae5d20f6160132c0f3486b7087..6c6dc88ce1a85986401d8aa411c420c10c0ee38b 100644 (file)
--- a/egs/timit/s5/cmd.sh
+++ b/egs/timit/s5/cmd.sh
# the use of cuda_cmd is deprecated, used only in 'nnet1',
export cuda_cmd="queue.pl --gpu 1"
-if [ "$(hostname -d)" == "fit.vutbr.cz" ]; then
+if [[ "$(hostname -f)" == "*.fit.vutbr.cz" ]]; then
queue_conf=$HOME/queue_conf/default.conf # see example /homes/kazi/iveselyk/queue_conf/default.conf,
export train_cmd="queue.pl --config $queue_conf --mem 2G --matylda 0.2"
export decode_cmd="queue.pl --config $queue_conf --mem 3G --matylda 0.1"