Author: pierre
Date: Fri Apr 10 03:16:41 2020
New Revision: 4155

Log:
remove the __pycache__ dirs from comparison analysis

Modified:
   jhalfs/trunk/common/libs/func_compare.sh

Modified: jhalfs/trunk/common/libs/func_compare.sh
==============================================================================
--- jhalfs/trunk/common/libs/func_compare.sh    Wed Apr  8 01:37:54 2020        
(r4154)
+++ jhalfs/trunk/common/libs/func_compare.sh    Fri Apr 10 03:16:41 2020        
(r4155)
@@ -61,9 +61,11 @@
 
   if [[ "$RUN_ICA" = "y" ]] ; then
     local DEST_ICA=$DEST_TOPDIR/ICA && \
+  # the PRUNEPATH additional setting is to avoid .pyc files to show up in diff
 (
     cat << EOF
-       @extras/do_copy_files "$PRUNEPATH" $ROOT_DIR $DEST_ICA/$ITERATION 
>>logs/\$@ 2>&1 && \\
+       @PRUNEPATH="$PRUNEPATH \$\$(find /usr/lib -name __pycache__)"; \\
+       extras/do_copy_files "\$\$PRUNEPATH" $ROOT_DIR $DEST_ICA/$ITERATION 
>>logs/\$@ 2>&1 && \\
        extras/do_ica_prep $DEST_ICA/$ITERATION >>logs/\$@ 2>&1
 EOF
 ) >> $MKFILE.tmp
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to