File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ show_usage() {
2121 echo " PIP_REQUIREMENTS=\" packageA packageB -r requirements.txt -e git+https://...\" "
2222 echo " PIP_PREFIX=\" AppDir/usr/share/conda\" "
2323 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;]\" "
2525}
2626
2727_isterm () {
@@ -201,8 +201,8 @@ for skip in "${cleanup[@]}"; do
201201 " __pycache__" )
202202 skip_pycache_cleanup=1
203203 ;;
204- " .so " )
205- skip_so_cleanup =1
204+ " strip " )
205+ skip_strip_cleanup =1
206206 ;;
207207 " .a" )
208208 skip_a_cleanup=1
@@ -232,7 +232,7 @@ if [ "$skip_cleanup" != "1" ]; then
232232 pushd " $APPDIR " /usr/conda
233233 (( $skip_conda_pkgs_cleanup )) || rm -rf pkgs
234234 (( $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 ' {}' \;
236236 (( $skip_a_cleanup )) || find -type f -iname ' *.a' -print -delete
237237 (( $skip_cmake_cleanup )) || rm -rf lib/cmake/
238238 (( $skip_doc_cleanup )) || rm -rf share/{gtk-,}doc
You can’t perform that action at this time.
0 commit comments