Skip to content

Commit 2fda11d

Browse files
committed
Fix argument passing to make-universal.sh
1 parent 8f81f1a commit 2fda11d

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

build_macos.sh

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -72,15 +72,9 @@ if [[ "$SKIP_PICOTOOL" != 1 ]]; then
7272
arch -arm64 ../packages/macos/picotool/build-picotool.sh
7373
fi
7474

75-
INSTALLDIR="pico-sdk-tools"
76-
BINDIR="pioasm"
77-
BINNAME="pioasm"
78-
../packages/macos/make-universal.sh
79-
80-
INSTALLDIR="picotool-install"
81-
BINDIR="picotool"
82-
BINNAME="picotool"
83-
../packages/macos/make-universal.sh
75+
../packages/macos/make-universal.sh "pico-sdk-tools" "pioasm" "pioasm"
76+
77+
../packages/macos/make-universal.sh "picotool-install" "picotool" "picotool"
8478
fi
8579
cd ..
8680

packages/macos/make-universal.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
set -euo pipefail
44

5+
INSTALLDIR=$1
6+
BINDIR=$2
7+
BINNAME=$3
8+
59
rm -rf $INSTALLDIR
610
mkdir -p $INSTALLDIR
711

0 commit comments

Comments
 (0)