From: Vadim Zeitlin Date: Tue, 31 Oct 2006 09:32:24 +0000 (+0000) Subject: avoid unneeded use of cat in the last change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6a7d17a27240b5bf21a8111b92f05fb7629c4141 avoid unneeded use of cat in the last change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/debian/rules b/debian/rules index 09b95e14f2..79093ca28a 100755 --- a/debian/rules +++ b/debian/rules @@ -57,10 +57,10 @@ endif DEBIAN_WXFLAVOUR := $(shell pwd | sed -e 's@.*/wxwidgets[0-9.]\+-\?\(.*\)-[0-9.]\+-\?.*@\1@') -wx_major_version_number := $(shell cat configure.in | sed -n 's/^wx_major_version_number=//p') -wx_minor_version_number := $(shell cat configure.in | sed -n 's/^wx_minor_version_number=//p') -wx_release_number := $(shell cat configure.in | sed -n 's/^wx_release_number=//p') -wx_subrelease_number := $(shell cat configure.in | sed -n 's/^wx_subrelease_number=//p') +wx_major_version_number := $(shell sed -n 's/^wx_major_version_number=//p' configure.in) +wx_minor_version_number := $(shell sed -n 's/^wx_minor_version_number=//p' configure.in) +wx_release_number := $(shell sed -n 's/^wx_release_number=//p' configure.in) +wx_subrelease_number := $(shell sed -n 's/^wx_subrelease_number=//p' configure.in) ##release := $(shell dpkg-parsechangelog | sed -n 's/^Source: wxwidgets//p' | sed 's/-ansi//') release := $(wx_major_version_number).$(wx_minor_version_number)