Skip to content

Commit 48d2115

Browse files
authored
[scripts,egs] Fix shebangs on bash scripts to #!/usr/bin/env bash, for portability (#3881)
1 parent fd6aabb commit 48d2115

File tree

2,514 files changed

+2527
-2519
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,514 files changed

+2527
-2519
lines changed

egs/aidatatang_200zh/s5/local/chain/compare_wer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright 2018 Emotech LTD (Author: Xuechen Liu)
33

44
# compare wer between diff. models in aidatatang_200zh chain directory

egs/aidatatang_200zh/s5/local/chain/tuning/run_tdnn_1a.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is based on run_tdnn_7h.sh in swbd chain recipe.
44

egs/aidatatang_200zh/s5/local/chain/tuning/run_tdnn_2a.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is based on run_tdnn_1a.sh.
44
# This setup used online pitch to train the neural network.

egs/aidatatang_200zh/s5/local/data_prep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2017 Xingyu Na
44
# Apache 2.0

egs/aidatatang_200zh/s5/local/download_and_untar.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# Copyright 2014 Johns Hopkins University (author: Daniel Povey)
44
# 2017 Xingyu Na

egs/aidatatang_200zh/s5/local/format_data.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#
33

44
. ./path.sh

egs/aidatatang_200zh/s5/local/nnet3/compare_wer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
# Copyright 2018 Emotech LTD (Author: Xuechen Liu)
33

44
# compare wer between diff. models in aidatatang_200zh nnet3 directory

egs/aidatatang_200zh/s5/local/nnet3/run_ivector_common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
set -euo pipefail
44

egs/aidatatang_200zh/s5/local/nnet3/tuning/run_tdnn.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22

33
# This script is based on aishell/s5/local/nnet3/tuning/run_tdnn_1a.sh
44

egs/aidatatang_200zh/s5/local/prepare_dict.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/usr/bin/env bash
22
#Copyright 2016 LeSpeech (Author: Xingyu Na)
33

44
# prepare dictionary for aidatatang

0 commit comments

Comments
 (0)