File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ show_usage() {
21
21
echo " PIP_REQUIREMENTS=\" packageA packageB -r requirements.txt -e git+https://...\" "
22
22
echo " PIP_PREFIX=\" AppDir/usr/share/conda\" "
23
23
echo " ARCH=\" x86_64\" (further supported values: i686)"
24
- echo " CONDA_SKIP_CLEANUP=\" [all;][conda-pkgs;][__pycache__;][.so ;][.a;][cmake;][doc;][man;][site-packages;]\" "
24
+ echo " CONDA_SKIP_CLEANUP=\" [all;][conda-pkgs;][__pycache__;][strip ;][.a;][cmake;][doc;][man;][site-packages;]\" "
25
25
}
26
26
27
27
_isterm () {
@@ -201,8 +201,8 @@ for skip in "${cleanup[@]}"; do
201
201
" __pycache__" )
202
202
skip_pycache_cleanup=1
203
203
;;
204
- " .so " )
205
- skip_so_cleanup =1
204
+ " strip " )
205
+ skip_strip_cleanup =1
206
206
;;
207
207
" .a" )
208
208
skip_a_cleanup=1
@@ -232,7 +232,7 @@ if [ "$skip_cleanup" != "1" ]; then
232
232
pushd " $APPDIR " /usr/conda
233
233
(( $skip_conda_pkgs_cleanup )) || rm -rf pkgs
234
234
(( $skip_pycache_cleanup )) || find -type d -iname ' __pycache__' -print0 | xargs -0 rm -r
235
- (( $skip_so_cleanup )) || find -type f -iname ' *.so*' -print -exec strip ' {}' \;
235
+ (( $skip_strip_cleanup )) || find -type f -iname ' *.so*' -print -exec strip ' {}' \;
236
236
(( $skip_a_cleanup )) || find -type f -iname ' *.a' -print -delete
237
237
(( $skip_cmake_cleanup )) || rm -rf lib/cmake/
238
238
(( $skip_doc_cleanup )) || rm -rf share/{gtk-,}doc
You can’t perform that action at this time.
0 commit comments