diff options
author | Peter Lemenkov <peter@fedoraproject.org> | 2010-04-26 17:40:46 +0000 |
---|---|---|
committer | Peter Lemenkov <peter@fedoraproject.org> | 2010-04-26 17:40:46 +0000 |
commit | 320c2966d961ab9093bdcaf23fe1946cdba6a3b4 (patch) | |
tree | 09196b637d565d4219ffc410d9f3119fd5372c58 /erlang-find-provides.sh | |
parent | b29a5157d89f05ead941842e56ce2134eb657251 (diff) | |
download | erlang-320c2966d961ab9093bdcaf23fe1946cdba6a3b4.tar.gz erlang-320c2966d961ab9093bdcaf23fe1946cdba6a3b4.tar.xz erlang-320c2966d961ab9093bdcaf23fe1946cdba6a3b4.zip |
Fix installation path for erlang-rpm-macros
Diffstat (limited to 'erlang-find-provides.sh')
-rwxr-xr-x | erlang-find-provides.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erlang-find-provides.sh b/erlang-find-provides.sh index 0592130..10cf41e 100755 --- a/erlang-find-provides.sh +++ b/erlang-find-provides.sh @@ -63,7 +63,7 @@ for f in $appfiles; do echo "erlang($app) = $ver" done -# Check for very special case - erts, by guessing by directory name +# Check for two special cases by inspecting path to ebin directory basedirs=$(echo $filelist | tr [:blank:] '\n' | grep -o -E 'erlang\/lib\/[a-zA-Z_0-9]*-[0-9.]*\/ebin' | cut -d \/ -f 3 | sort | uniq) for bd in $basedirs; do basename=`echo $bd | cut -d \- -f 1` @@ -84,6 +84,7 @@ for bd in $basedirs; do grep "bif " $BUILDDIR/erts/emulator/hipe/*.tab | awk -F "bif " '{print "erlang(" $2 ")"}' ;; "wx") + # wx module doesn't contain app-file. echo "erlang($basename) = $basever" ;; *) |