diff --git a/hmcdrvfs/Makefile b/hmcdrvfs/Makefile index 5144c159..5d81031c 100644 --- a/hmcdrvfs/Makefile +++ b/hmcdrvfs/Makefile @@ -49,7 +49,7 @@ install: all install-scripts install-scripts: lshmc @for i in $^; do \ cat $$i | \ - sed -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ >$(DESTDIR)$(USRSBINDIR)/$$i; \ chown $(OWNER).$(GROUP) $(DESTDIR)$(USRSBINDIR)/$$i; \ chmod 755 $(DESTDIR)$(USRSBINDIR)/$$i; \ diff --git a/ip_watcher/Makefile b/ip_watcher/Makefile index d0190e79..0e9df39e 100644 --- a/ip_watcher/Makefile +++ b/ip_watcher/Makefile @@ -8,7 +8,7 @@ clean: rm -f *.o core xcec-bridge install: ip_watcher.pl xcec-bridge start_hsnc.sh - $(SED) -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + $(SED) -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ < start_hsnc.sh >$(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \ chown $(OWNER).$(GROUP) $(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \ chmod 755 $(DESTDIR)$(USRSBINDIR)/start_hsnc.sh; \ diff --git a/qethconf/Makefile b/qethconf/Makefile index e320b457..0b099a2b 100644 --- a/qethconf/Makefile +++ b/qethconf/Makefile @@ -3,7 +3,7 @@ include ../common.mak all: install: qethconf - $(SED) -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + $(SED) -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ < qethconf >$(DESTDIR)$(BINDIR)/qethconf; \ chown $(OWNER).$(GROUP) $(DESTDIR)$(BINDIR)/qethconf; \ chmod 755 $(DESTDIR)$(BINDIR)/qethconf; \ diff --git a/scripts/Makefile b/scripts/Makefile index f0c2ff7a..dc5b0f0d 100644 --- a/scripts/Makefile +++ b/scripts/Makefile @@ -10,13 +10,13 @@ install: @for i in $(SCRIPTS); \ do \ cat $$i | \ - sed -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ >$(DESTDIR)$(BINDIR)/$$i; \ chown $(OWNER):$(GROUP) $(DESTDIR)$(BINDIR)/$$i; \ chmod 755 $(DESTDIR)$(BINDIR)/$$i; \ done - sed -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' cpictl > \ + sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' cpictl > \ $(DESTDIR)$(TOOLS_LIBDIR)/cpictl chown $(OWNER):$(GROUP) $(DESTDIR)$(TOOLS_LIBDIR)/cpictl chmod 775 $(DESTDIR)$(TOOLS_LIBDIR)/cpictl diff --git a/zconf/Makefile b/zconf/Makefile index a4acd8fc..008b5984 100644 --- a/zconf/Makefile +++ b/zconf/Makefile @@ -23,7 +23,7 @@ install: install-scripts install-manpages install-usrsbin-scripts $(SUB_DIRS) install-scripts: $(SCRIPTS) @for i in $^; do \ cat $$i | \ - sed -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ >$(DESTDIR)$(BINDIR)/$$i; \ chown $(OWNER).$(GROUP) $(DESTDIR)$(BINDIR)/$$i; \ chmod 755 $(DESTDIR)$(BINDIR)/$$i; \ @@ -32,7 +32,7 @@ install-scripts: $(SCRIPTS) install-usrsbin-scripts: $(USRSBIN_SCRIPTS) @for i in $^; do \ cat $$i | \ - sed -e 's+%S390_TOOLS_VERSION%+$(S390_TOOLS_RELEASE)+' \ + sed -e 's/%S390_TOOLS_VERSION%/$(S390_TOOLS_RELEASE)/' \ >$(DESTDIR)$(USRSBINDIR)/$$i; \ chown $(OWNER).$(GROUP) $(DESTDIR)$(USRSBINDIR)/$$i; \ chmod 755 $(DESTDIR)$(USRSBINDIR)/$$i; \