Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ErlangPro
rpm-build-erlang
find-erlang-provides.sh.in
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File find-erlang-provides.sh.in of Package rpm-build-erlang
#!/bin/bash # # Copyright (C) 2008, 2012 Led <led@massivesolutions.co.uk> Massive Solutions Ltd. # RPM_BUILD_ROOT="$1" RPM_OTP_LIB_DIR="${2:-/usr/lib/erlang/lib}" @MAGIC@ egrep "^$RPM_BUILD_ROOT$RPM_OTP_LIB_DIR"'/[^/]+/ebin/.*\.(beam|app)$' | file -zN "$f" -f - 2>/dev/null | egrep '(\.beam: Erlang BEAM file|\.app: ASCII.* text)' | sed -r -e "s|^$RPM_BUILD_ROOT$RPM_OTP_LIB_DIR/"'(.*):[[:blank:]].*$|\1|' \ -e 's|-(.*/ebin/)| = \1|' \ -e 's/\.beam$/.mod/' \ -e 's|^([[:alnum:]_]+)(.*)/ebin/(.*)\.(.*)$|erlang_lib(\1)\2\nerlang_\4(\3)\2|' | sort -u
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor