This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=26ed540c02012481396930aa18d774a5b9790f69

commit 26ed540c02012481396930aa18d774a5b9790f69
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Sun Aug 22 13:31:42 2021 +0200

    dpkg-m-h: Use xargs -I argument instead of deprecated -i
    
    Warned-by: shellcheck
---
 scripts/dpkg-maintscript-helper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/dpkg-maintscript-helper.sh 
b/scripts/dpkg-maintscript-helper.sh
index 7c854e88a..57da90c10 100755
--- a/scripts/dpkg-maintscript-helper.sh
+++ b/scripts/dpkg-maintscript-helper.sh
@@ -483,7 +483,7 @@ finish_dir_to_symlink()
   fi
   rm "$DPKG_ROOT$PATHNAME/.dpkg-staging-dir"
   find "$DPKG_ROOT$PATHNAME" -mindepth 1 -maxdepth 1 -print0 | \
-    xargs -0 -i% mv -f "%" "$DPKG_ROOT$ABS_SYMLINK_TARGET/"
+    xargs -0 -I% mv -f "%" "$DPKG_ROOT$ABS_SYMLINK_TARGET/"
 
   # Remove the staging directory.
   rmdir "$DPKG_ROOT$PATHNAME"

-- 
Dpkg.Org's dpkg

Reply via email to