mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
chore(mac): replaces more 'typeset' uses
This commit is contained in:
parent
12cb94c5a3
commit
7008a3972e
1 changed files with 4 additions and 5 deletions
|
|
@ -105,14 +105,13 @@ BUILD_OPTIONS="-configuration $CONFIG $BUILD_OPTIONS PRODUCT_VERSION=$VERSION"
|
|||
execBuildCommand() {
|
||||
declare -r component="$1"
|
||||
shift
|
||||
typeset cmnd="$*"
|
||||
typeset ret_code
|
||||
declare -r cmnd="$*"
|
||||
|
||||
displayInfo "Building $component:" "$cmnd"
|
||||
set +e
|
||||
eval "$cmnd"
|
||||
ret_code=$?
|
||||
set -e
|
||||
local ret_code=0
|
||||
eval "$cmnd" || ret_code=$?
|
||||
set -ex
|
||||
|
||||
printXCodeBuildScriptLogs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue