d/rules: normalize sed call
Remove the used commas and replace them by a backslash so we can catch
up more use cases.
Needed for php-mapi.postrm adjustment while package build.
Carsten Schoenert
5 years ago
44 | 44 | |
45 | 45 | |
46 | 46 | $(PREPROCESS_FILES:.in=): %: %.in |
47 | sed -e 's,/@DEB_HOST_MULTIARCH@,$(DEB_HOST_MULTIARCH:%=/%),g' \ | |
48 | -e 's,/@PHP_VERSION@,$(PHP_VERSION:%=/%),g' \ | |
47 | sed -e 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH:%=%)/g' \ | |
48 | -e 's/@PHP_VERSION@/$(PHP_VERSION:%=%)/g' \ | |
49 | 49 | $< > $@ |
50 | 50 | |
51 | 51 | %: |