Skip to content

Commit 5f9bfd8

Browse files
authored
deeplab/local_test.sh: Use 'bash' instead of 'sh' (tensorflow#8534)
- Make it consistent with '/bin/bash' shebang - Fix "Bad substitution" error in BASH_SOURCE[0]
1 parent 7e47cd7 commit 5f9bfd8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

research/deeplab/g3doc/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ Quick running the whole code on the PASCAL VOC 2012 dataset:
6868

6969
```bash
7070
# From tensorflow/models/research/deeplab
71-
sh local_test.sh
71+
bash local_test.sh
7272
```
7373

research/deeplab/local_test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#
2020
# Usage:
2121
# # From the tensorflow/models/research/deeplab directory.
22-
# sh ./local_test.sh
22+
# bash ./local_test.sh
2323
#
2424
#
2525

@@ -42,7 +42,7 @@ python "${WORK_DIR}"/model_test.py
4242
# Go to datasets folder and download PASCAL VOC 2012 segmentation dataset.
4343
DATASET_DIR="datasets"
4444
cd "${WORK_DIR}/${DATASET_DIR}"
45-
sh download_and_convert_voc2012.sh
45+
bash download_and_convert_voc2012.sh
4646

4747
# Go back to original directory.
4848
cd "${CURRENT_DIR}"

0 commit comments

Comments
 (0)