diff options
author | rbuj <[email protected]> | 2021-02-05 13:38:48 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-27 09:59:31 +0100 |
commit | 9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f (patch) | |
tree | db41ad137afc60824d123c42020247971badc1cc /data/update-packages-match | |
parent | 6a216768f15d6968910da148f08b15c5cf1300fa (diff) | |
download | engrampa-9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f.tar.bz2 engrampa-9f7dd2b3a0ece027275a735c1c0a0c1f88814d0f.tar.xz |
packages.match: add and run update-packages-match script
Diffstat (limited to 'data/update-packages-match')
-rwxr-xr-x | data/update-packages-match | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/data/update-packages-match b/data/update-packages-match new file mode 100755 index 0000000..4a1a8e3 --- /dev/null +++ b/data/update-packages-match @@ -0,0 +1,2 @@ +list=`find .. -iname "*.c" | xargs grep PACKAGES | sed -e 's/.*PACKAGES[ ]*[(]"\([^"]*\)"[)];/\1/g' -e 's/,/\n/g' | sort -u | sed -e 's/\(.*\)/\1=/g' | tr '\n' '|'` +sed -e 's/@NAMES@/'"$list"'/g' < packages.match.in | tr '|' '\n' > packages.match |