Skip to content

Commit dc7d752

Browse files
Tim SmithTimSmithCtx
Tim Smith
authored andcommitted
CP-54096 Change /bin/sh to /usr/bin/sh
Signed-off-by: Tim Smith <[email protected]>
1 parent c5e140c commit dc7d752

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

mk/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ build: sources $(SM_STAMP) $(SM_TESTS) $(SM_UNIT_TESTS) \
3030

3131
$(MY_SOURCES)/MANIFEST: $(RPM_SRPMSDIR)/$(SM_SRPM) $(MY_SOURCES_DIRSTAMP) $(RPM_BUILD_COOKIE)
3232
rm -f $@
33-
/bin/sh ./srpms-to-manifest $(COMPONENT) $(MY_OUTPUT_DIR)/SRPMS > $@
33+
/usr/bin/sh ./srpms-to-manifest $(COMPONENT) $(MY_OUTPUT_DIR)/SRPMS > $@
3434

3535
.PHONY: sources
3636
sources: $(MY_SOURCES)/MANIFEST

scripts/kickpipe

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/sh
22
#
33
# Copyright (C) Citrix Systems Inc.
44
#

scripts/local-device-change

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/sh
22
#
33
# Copyright (C) Citrix Systems Inc.
44
#

scripts/set-iscsi-initiator

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/sh
22
#
33
# Copyright (C) Citrix Systems Inc.
44
#

scripts/usb_change

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
1+
#!/usr/bin/sh
22
#
33
# Copyright (C) Citrix Systems Inc.
44
#

udev/58-xapi.rules

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ LABEL="usb_cdrom_symlink"
3131
ACTION=="add|change", SYMLINK+="xapi/cd/%k"
3232
ACTION=="add|change", TAG+="systemd", ENV{SYSTEMD_WANTS}+="cdrommon@$name.service"
3333

34-
ACTION=="add", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
35-
ACTION=="remove", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
34+
ACTION=="add", RUN+="/usr/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
35+
ACTION=="remove", RUN+="/usr/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
3636

3737
GOTO="end_xapi"
3838

@@ -44,8 +44,8 @@ ACTION=="add", PROGRAM!="/opt/xensource/libexec/check-device-sharing %k", GOTO="
4444

4545
ACTION=="add|change", SYMLINK+="xapi/block/%k"
4646

47-
ACTION=="add", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
48-
ACTION=="remove", RUN+="/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
47+
ACTION=="add", RUN+="/usr/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
48+
ACTION=="remove", RUN+="/usr/bin/sh -c '/opt/xensource/libexec/local-device-change %k 2>&1 >/dev/null&'"
4949

5050
GOTO="end_xapi"
5151

0 commit comments

Comments
 (0)