[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master cc4f3626 3/4: Hoist a command

From: Greg Chicares
Subject: [lmi-commits] [lmi] master cc4f3626 3/4: Hoist a command
Date: Fri, 3 Mar 2023 22:02:26 -0500 (EST)

branch: master
commit cc4f3626fdd911b2f77cba994d3a16f07d6172bc
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Hoist a command
    There are only a few files in the downloads/ directory. It makes sense
    to list them before and after steps that may cause missing files to be
    downloaded--but not on each for-loop iteration, as the downloaded files
    are architecture-independent.
 install_msw.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install_msw.sh b/install_msw.sh
index 8e7bf7f0..376b78fe 100755
--- a/install_msw.sh
+++ b/install_msw.sh
@@ -316,8 +316,6 @@ do
     CCACHE_DIR="$autotooled_cache" PATH="$autotooled_path" ./install_wx.sh
     CCACHE_DIR="$autotooled_cache" PATH="$autotooled_path" 
-find /srv/cache_for_lmi/downloads -type f -print0 | xargs --null md5sum
     # Source this script only for commands that depend upon it.
     . ./set_toolchain.sh
@@ -338,6 +336,8 @@ find /srv/cache_for_lmi/downloads -type f -print0 | xargs 
--null md5sum
     printf 'Built %s with %s for %s.\n' "lmi" "$LMI_COMPILER" "$LMI_TRIPLET"
+find /srv/cache_for_lmi/downloads -type f -print0 | xargs --null md5sum
 # GID should be the same for all files.
 find /opt/lmi/ -not -group "$(id -gn "$(logname)")" -print
 # User and group permissions should be the same throughout $(prefix).

reply via email to

[Prev in Thread] Current Thread [Next in Thread]