diff options
| author | Petr Spacek <pspacek@redhat.com> | 2016-04-22 10:40:11 +0200 |
|---|---|---|
| committer | Martin Basti <mbasti@redhat.com> | 2016-04-28 14:39:31 +0200 |
| commit | 8689e6be515aaf5b3d6c891e9e450b99cd8af8d4 (patch) | |
| tree | b05186a4e0d05c7b31c953cbe7d469b37c0edfe6 /Makefile | |
| parent | f61910084d737f66b9914f3f945e9830a393c8af (diff) | |
| download | freeipa-8689e6be515aaf5b3d6c891e9e450b99cd8af8d4.tar.gz freeipa-8689e6be515aaf5b3d6c891e9e450b99cd8af8d4.tar.xz freeipa-8689e6be515aaf5b3d6c891e9e450b99cd8af8d4.zip | |
Makefile: replace perl with sed
Perl was missing in BuildRequires anyway and it is used only on one place,
all other places are using sed.
Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -164,15 +164,15 @@ version-update: release-update > ipaclient/setup.py sed -e s/__NUM_VERSION__/$(IPA_NUM_VERSION)/ install/ui/src/libs/loader.js.in \ > install/ui/src/libs/loader.js - perl -pi -e "s:__API_VERSION__:$(IPA_API_VERSION_MAJOR).$(IPA_API_VERSION_MINOR):" install/ui/src/libs/loader.js - perl -pi -e "s:__NUM_VERSION__:$(IPA_NUM_VERSION):" ipapython/version.py - perl -pi -e "s:__VENDOR_VERSION__:$(IPA_VENDOR_VERSION):" ipapython/version.py - perl -pi -e "s:__API_VERSION__:$(IPA_API_VERSION_MAJOR).$(IPA_API_VERSION_MINOR):" ipapython/version.py + sed -i -e "s:__API_VERSION__:$(IPA_API_VERSION_MAJOR).$(IPA_API_VERSION_MINOR):" install/ui/src/libs/loader.js + sed -i -e "s:__NUM_VERSION__:$(IPA_NUM_VERSION):" ipapython/version.py + sed -i -e "s:__VENDOR_VERSION__:$(IPA_VENDOR_VERSION):" ipapython/version.py + sed -i -e "s:__API_VERSION__:$(IPA_API_VERSION_MAJOR).$(IPA_API_VERSION_MINOR):" ipapython/version.py touch -r ipapython/version.py.in ipapython/version.py sed -e s/__VERSION__/$(IPA_VERSION)/ daemons/ipa-version.h.in \ > daemons/ipa-version.h - perl -pi -e "s:__NUM_VERSION__:$(IPA_NUM_VERSION):" daemons/ipa-version.h - perl -pi -e "s:__DATA_VERSION__:$(IPA_DATA_VERSION):" daemons/ipa-version.h + sed -i -e "s:__NUM_VERSION__:$(IPA_NUM_VERSION):" daemons/ipa-version.h + sed -i -e "s:__DATA_VERSION__:$(IPA_DATA_VERSION):" daemons/ipa-version.h sed -e s/__VERSION__/$(IPA_VERSION)/ client/version.m4.in \ > client/version.m4 |
