#37 Use /bin/bash instead of /bin/sh
Merged 3 months ago by plautrba. Opened 3 months ago by plautrba.
rpms/ plautrba/policycoreutils rawhide  into  rawhide

Use /bin/bash instead of /bin/sh
Petr Lautrbach • 3 months ago  
@@ -1,4 +1,4 @@ 

- #!/bin/sh

+ #!/bin/bash

  

  # This systemd.generator(7) detects if SELinux is running and if the

  # user requested an autorelabel, and if so sets the default target to

Fixes:

$ shellcheck -S warning selinux-autorelabel-generator.sh

In selinux-autorelabel-generator.sh line 22:
source /etc/selinux/config
^------------------------^ SC3046 (warning): In POSIX sh, 'source' in place of '.' is undefined.

For more information:
https://www.shellcheck.net/wiki/SC3046 -- In POSIX sh, 'source' in place of...

https://bugzilla.redhat.com/show_bug.cgi?id=2210593

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/8eae0d970be84e29979441f522a09b21

rebased onto 28f9992

3 months ago

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/1d32f8d0d80642c6a434b63f3a7e8aa8

Pull-Request has been merged by plautrba

3 months ago
Metadata