-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
I've noticed that some of absolute paths in generated spec and shebangs have doubled slash, e.g. I have files section with config and spec shows:
%config(noreplace) //lib/systemd/system/my-app.service
%config(noreplace) //etc/my-app/.env
Also shebang of my script /usr/bin/python has changed to #!/opt/my-company//my-app/bin/python.
Probably that's not problem but my daemon in the output of top then shows this double slashed path, which I don't like honestly to say.
... /opt/my-company//my-app/bin/python /opt/my-company/my-app/bin/my-server.py
Also, due to this problem I have to set parent directory in rpmvenv.json without first slash, e.g.
"python_venv": {
"name": "my-app",
"path": "opt/my-company/",
"pip_flags": "--no-warn-script-location"
},
I'd like to fix this if you provide some hints. I suppose all paths need to be processed via os.path.normpath.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels