Skip to content

Commit

Permalink
Minor fix for run_python.sh to work with POSIX sh on FreeBSD. (emscri…
Browse files Browse the repository at this point in the history
…pten-core#11426)

Co-authored-by: Karsten Pedersen <kpedersen@outlook.com>
  • Loading branch information
osen and Karsten Pedersen authored Jun 16, 2020
1 parent 54347a2 commit 71220ab
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion em++
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion em-config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emar
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion embuilder
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emcc
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emcmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emconfigure
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emmake
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emranlib
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emrun
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emscons
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion emsize
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down
2 changes: 1 addition & 1 deletion tools/run_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ if [ -z "$PYTHON" ]; then
fi

if [ -z "$PYTHON" ]; then
print 'unable to find python in $PATH'
echo 'unable to find python in $PATH'
exit 1
fi

Expand Down

0 comments on commit 71220ab

Please sign in to comment.