File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 9
9
10
10
script=$( readlink -f " $0 " )
11
11
12
+ ARCH=" ${ARCH:- " $( uname -m) " } "
13
+
12
14
show_usage () {
13
15
echo " Usage: $script --appdir <path to AppDir>"
14
16
echo
@@ -20,7 +22,7 @@ show_usage() {
20
22
echo " CONDA_PYTHON_VERSION=\" 3.6\" "
21
23
echo " PIP_REQUIREMENTS=\" packageA packageB -r requirements.txt -e git+https://...\" "
22
24
echo " PIP_PREFIX=\" AppDir/usr/share/conda\" "
23
- echo " ARCH=\" x86_64 \" (further supported values: i686)"
25
+ echo " ARCH=\" $ARCH \" (supported values: x86_64, i368, i686)"
24
26
echo " CONDA_SKIP_CLEANUP=\" [all;][conda-pkgs;][__pycache__;][strip;][.a;][cmake;][doc;][man;][site-packages;]\" "
25
27
}
26
28
@@ -99,8 +101,6 @@ if [ -d "$APPDIR"/usr/conda ]; then
99
101
log " Please make sure you perform a clean build before releases to make sure your process works properly."
100
102
fi
101
103
102
- ARCH=${ARCH:- x86_64}
103
-
104
104
# install Miniconda, a self contained Python distribution, into AppDir
105
105
case " $ARCH " in
106
106
" x86_64" )
You can’t perform that action at this time.
0 commit comments