diff options
author | pab <devnull@localhost> | 2009-08-08 23:13:39 +0000 |
---|---|---|
committer | pab <devnull@localhost> | 2009-08-08 23:13:39 +0000 |
commit | 31a8c3911ace8c1786997626ff6a6fdc13341bdb (patch) | |
tree | 3ac370128c3b2819aff5c13ec0247011a4ab9add /maintainer | |
parent | 54d2b6d2b05b13bc023a1d91033109bb21976ba8 (diff) |
Add packaging of opengis
Diffstat (limited to 'maintainer')
-rw-r--r-- | maintainer/genpd.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/maintainer/genpd.sh b/maintainer/genpd.sh new file mode 100644 index 0000000..be9489d --- /dev/null +++ b/maintainer/genpd.sh @@ -0,0 +1,18 @@ +find pyxb/bundles -name '*.wxs' \ + > /tmp/x$$ +cat /tmp/x$$ \ + | sed -e 's@/[^/]*$@@' \ + | sort \ + | uniq \ + > /tmp/y$$ + +for f in `cat /tmp/y$$` ; do + echo -n `echo "'${f}'" | sed -e 's@/@.@'` + echo ' : [' + grep "^${f}" /tmp/x$$ \ + | sed -e 's@^.*/\([^/]*\)$@\1@' \ + | sed -e 's@^@"@' -e 's@$@",@' \ + | fmt + echo '],' +done +rm -f /tmp/x$$ /tmp/y$$ |