-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Description:
- the RPM is build on windows
- pom.xml defines target system:
<leadOverrideOperatingSystem>LINUX</leadOverrideOperatingSystem> - pom.xml defines a script:
<afterInstallation> <interpreter>/bin/bash</interpreter> <file>${project.basedir}/scripts/post.sh</file> </afterInstallation> - RPM is installed on linux
- execution of script fails with:
/var/tmp/rpm-tmp.7IH57w: /etc/init.d/eftd: /bin/bash^M: bad interpreter: No such file or directory
Question:
The error message shows how there is a bad end line character added during the RPM build, resulting in the script failing.
The question is now, if this might be due to faulty configuration on my side, or if this can be considered a feature/bug.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels