[GnuPG Logo]    
· English ·        
Links  
   
 
authorAndre Heinecke <[email protected]>
Mon, 2 Sep 2024 14:16:14 +0000 (16:16 +0200)
committerAndre Heinecke <[email protected]>
Mon, 2 Sep 2024 14:16:14 +0000 (16:16 +0200)
* docker/docker-build.sh: Use maxdepth when rsyncing the
packages.

--
This fixes accdentally copying wrong packges from subdirs
in a dirty pacakges directory.

docker/docker-build.sh

index 286304418a443fd56d1b5cb2bfb74c7b84ffcda3..64731564ecbd23ff0779234e15a134b2fc72d24c 100755 (executable)
@@ -168,8 +168,12 @@ fi
 
 if [ "$clean_pkgs" == "no" -a "$inplace" == "no" ]; then
     echo "Copying packages from ${srcdir}/packages .."
-    files=$(find ${srcdir}/packages -name \*.tar\* -o -name \*.zip -o \
-        -name \*.exe -o -name \*.wixlib -o -name '.#download.*')
+    files=$(find ${srcdir}/packages -maxdepth 1 \
+        -name \*.tar\* -o \
+        -name \*.zip -o \
+        -name \*.exe -o \
+        -name \*.wixlib \
+        -o -name '.#download.*')
     [ -n "$files" ] && cp $files ${gpg4win_dir}/packages
 fi
 
 
   
 
 
  Technical resources for this
service are sponsered by
 
  g10 Code GmbH  

Valid XHTML 1.0!     Peace!     Valid CSS!