Skip to content

Commit 535a6e9

Browse files
authored
Merge pull request #12509 from JiabinYang/scripts0802
fix the paddle script causes 'command not found' error'
2 parents 1c3e66b + 4af5d3e commit 535a6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paddle/scripts/submit_local.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function cpu_config() {
5454
if [ $platform == "Linux" ]; then
5555
ht=`lscpu |grep "per core"|awk -F':' '{print $2}'|xargs`
5656
elif [ $platform == "Darwin" ]; then
57-
if [`sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu`]; then
57+
if [ `sysctl -n hw.physicalcpu` -eq `sysctl -n hw.logicalcpu` ]; then
5858
# HT is OFF
5959
ht=1
6060
fi

0 commit comments

Comments
 (0)