diff options
Diffstat (limited to 'sh/Makefile')
| -rw-r--r-- | sh/Makefile | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/sh/Makefile b/sh/Makefile index c76d622c..dfac610f 100644 --- a/sh/Makefile +++ b/sh/Makefile @@ -8,9 +8,9 @@ include $(TOPDIR)/default.mk  install::  	# Handle lib correctly -	if test $(LIB) != "lib" ; then \ -		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$? ; \ -		rm -f $(DESTDIR)/$(RC_LIB)/sh/functions.sh.bak ; \ -		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh || exit $$? ; \ -		rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak ; \ +	if test $(LIB) != "lib"; then \ +		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/functions.sh || exit $$?; \ +		rm -f $(DESTDIR)/$(RC_LIB)/sh/functions.sh.bak; \ +		sed -i'.bak' -e 's,/lib/,/$(LIB)/,g' $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh || exit $$?; \ +		rm -f $(DESTDIR)/$(RC_LIB)/sh/rc-functions.sh.bak; \  	fi | 
