From: Felix Fietkau Date: Wed, 22 Oct 2025 11:54:21 +0000 (+0000) Subject: update_git_source_package.sh: fix umask X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f648a1d9f955aeb51c0c1f50063c7a08796a75b3;p=maintainer-tools.git update_git_source_package.sh: fix umask Avoids generating tarballs with mismatching file modes Signed-off-by: Felix Fietkau --- diff --git a/update_git_source_package.sh b/update_git_source_package.sh index d5c9bab..9720888 100755 --- a/update_git_source_package.sh +++ b/update_git_source_package.sh @@ -33,6 +33,7 @@ TOPDIR=$3 exit 1 } +umask 022 MAKE=$(which gmake) || MAKE=$(which make) FIND=$(which gfind) || FIND=$(which find)