diff --git a/egs/fame/v2/cmd.sh b/egs/fame/v2/cmd.sh
index 23721d04c56eab055647a611f2ddae93c4c26628..179307556d565cba33ec1085f8ea5926e7e93353 100644 (file)
--- a/egs/fame/v2/cmd.sh
+++ b/egs/fame/v2/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"