File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -170,9 +170,9 @@ if [ "$ARCH" == "" ]; then
170
170
if [ " $ARCH " == " x86_64" ]; then
171
171
ARCH=64
172
172
elif [ " $ARCH " == " arm64" ]; then
173
- ARCH=64 # for now
173
+ ARCH=arm64
174
174
elif [ " $ARCH " == " aarch64" ]; then
175
- ARCH=64 # for now
175
+ ARCH=arm64
176
176
elif [ " $ARCH " == " i686" ] || [ " $ARCH " == " i386" ]; then
177
177
echo " 32bit linux is not officially supported anymore but compiling the libraries using the build script in apothecary/scripts should compile all the dependencies without problem"
178
178
exit 1
@@ -215,7 +215,7 @@ if [ "$PLATFORM" == "linux" ]; then
215
215
elif [ " $ARCH " == " arm64" ]; then
216
216
OPT=" _${GCC_VERSION} "
217
217
elif [ " $ARCH " == " aarch64" ]; then
218
- OPT=" "
218
+ OPT=" _ ${GCC_VERSION} "
219
219
elif [ " $ARCH " == " armv8l" ]; then
220
220
OPT=" "
221
221
elif [ " $ARCH " == " armv7l" ]; then
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ autoDetectOS() {
30
30
;;
31
31
esac
32
32
else
33
- export OF_OS=$( ${OF_PLATFORM} | tr ' [:upper:]' ' [:lower:]' )
34
- export OF_ARCH=" "
33
+ export OF_OS=$( ${OF_PLATFORM} | tr ' [:upper:]' ' [:lower:]' )
34
+ export OF_ARCH=" "
35
35
fi
36
36
}
37
37
@@ -74,14 +74,14 @@ runCommand() {
74
74
;;
75
75
update)
76
76
echo " openFrameworks update"
77
- SCRIPT=" ${OF_SCRIPT_PATH } /download_libs.sh"
77
+ SCRIPT=" ${OF_CORE_SCRIPT_DIR} / ${OF_PLATFORM } /download_libs.sh"
78
78
;;
79
79
upgrade)
80
80
echo " openFrameworks upgrade"
81
81
case " $SUBCMD " in
82
82
addons)
83
83
echo " Upgrading addons"
84
- SCRIPT=" ${OF_SCRIPT_PATH } /dev/upgrade.sh"
84
+ SCRIPT=" ${OF_CORE_SCRIPT_DIR } /dev/upgrade.sh"
85
85
;;
86
86
apps)
87
87
echo " Upgrading apps"
@@ -91,7 +91,7 @@ runCommand() {
91
91
echo " Upgrade cancelled. No changes were made."
92
92
exit 0
93
93
fi
94
- SCRIPT=" ${OF_SCRIPT_PATH } /dev/upgrade.sh"
94
+ SCRIPT=" ${OF_CORE_SCRIPT_DIR } /dev/upgrade.sh"
95
95
;;
96
96
* )
97
97
echo " Unknown upgrade action: $SUBCMD "
You can’t perform that action at this time.
0 commit comments