diff options
author | Christiaan Welvaart <cjw@mageia.org> | 2011-07-07 19:52:17 +0000 |
---|---|---|
committer | Christiaan Welvaart <cjw@mageia.org> | 2011-07-07 19:52:17 +0000 |
commit | 52572ab6938ee2c57edaff9b1efa1aa13ddd53ac (patch) | |
tree | 64818205a71d2af5599f7a91f2e9f51d88737310 /gi-find-deps.sh.in | |
parent | 2b0222bf310ddfd221e18d0bae46e803c04db1d2 (diff) | |
download | rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.gz rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.bz2 rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.tar.xz rpm-setup-52572ab6938ee2c57edaff9b1efa1aa13ddd53ac.zip |
- gi deps for python: accept arbitrary whitespace in dependency lists1.138
Diffstat (limited to 'gi-find-deps.sh.in')
-rwxr-xr-x | gi-find-deps.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gi-find-deps.sh.in b/gi-find-deps.sh.in index 0a356c2..69aecfd 100755 --- a/gi-find-deps.sh.in +++ b/gi-find-deps.sh.in @@ -65,7 +65,7 @@ while read file; do done ;; *.py) - for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:,::g'); do + for module in $(grep -h -P "from gi.repository import (\w+)" $file | sed 's:#.*::' | sed -e 's,from gi.repository import,,' -r -e 's:\s+as\s+\w+::g' -e 's:\s*,\s*: :g'); do split_name_version $module print_req_prov done |