Skip to content
Snippets Groups Projects
Commit 65508ec9 authored by Luis Guzmán's avatar Luis Guzmán
Browse files

thunderbird: remove .gitignore call on third_party

parent 3e053666
No related branches found
No related tags found
1 merge request!926thunderbird: remove .gitignore call on third_party
Pipeline #738 passed
......@@ -19,7 +19,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION=17
VERSION=18
. ./config
......@@ -30,6 +30,17 @@ cp $DATA/branding/* comm/mail/branding/thunderbird/ -r
# cp $DATA/branding/* browser/branding/$i/ -r
#done
# Remove .gitignore call as those files get cleaned out on dpkg tarball by default.
remove_gitignore_from_json(){
jq . ${1} |sed '/.gitignore/d'|awk -v RS= '{$1=$1}1'|tr -d ' '|tee ${1}.new
mv ${1}.new ${1}
}
for json in $(find -name \.cargo-checksum.json|xargs grep -rl gitignore)
do
remove_gitignore_from_json $json
done
# Privacy and branding via prefs
cat << EOF >> debian/vendor.js
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment