Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:11.4
libopensync-plugin-moto
libopensync-plugin-moto-fix-path-detection.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libopensync-plugin-moto-fix-path-detection.diff of Package libopensync-plugin-moto
--- mototool +++ mototool @@ -12,11 +12,12 @@ except ImportError: # motosync wasn't in our standard import path # try looking in the opensync python plugin dir for it - child = popen2.Popen3('pkg-config opensync-1.0 --variable=libdir') - libdir = child.fromchild.readline().rstrip('\n') - if child.wait() != 0 or not os.path.isdir(libdir): - sys.stderr.write("Error: couldn't locate OpenSync library directory\n") - sys.exit(1) +# child = popen2.Popen3('pkg-config opensync-1.0 --variable=libdir') +# libdir = child.fromchild.readline().rstrip('\n') +# if child.wait() != 0 or not os.path.isdir(libdir): +# sys.stderr.write("Error: couldn't locate OpenSync library directory\n") +# sys.exit(1) + libdir = sys.prefix + "/" + sys.lib sys.path.append(os.path.join(libdir, 'opensync', 'python-plugins')) import motosync
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