Skip to content

Commit

Permalink
[scripts] Set path in utils/ssh.pl just like in slurm.pl or queue.pl …
Browse files Browse the repository at this point in the history
…to avoid path problems (kaldi-asr#1379)
  • Loading branch information
nshmyrev authored and danpovey committed Jan 26, 2017
1 parent 6ec2eb0 commit 3b7fd1f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions egs/wsj/s5/utils/ssh.pl
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
# bash commands.
print S "set -e\n"; # if any of the later commands fails, we want it to exit.
print S "cd $cwd\n";
print S ". ./path.sh\n";
print S "mkdir -p $logdir\n";
print S "time1=\`date +\"%s\"\`\n";
print S "( echo '#' Running on \`hostname\`\n";
Expand Down

0 comments on commit 3b7fd1f

Please sign in to comment.