summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-06-24 20:31:41 +0200
committerhut <hut@lavabit.com>2010-06-24 20:31:41 +0200
commitdf2e1f7df4296e32f9597f6a78eac27f544ca12b (patch)
tree6776efb8faf68d04d2ef5edd3149d5f67249ffa2
parent1621a40c0e268929fff97c79537db709dd2b3fc6 (diff)
downloadranger-df2e1f7df4296e32f9597f6a78eac27f544ca12b.tar.gz
Makefile: simplification
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 57db7b11..1b26e117 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@
 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
 NAME = ranger
-VERSION = $(shell cat README | grep -m 1 -o '[0-9][0-9.]\+')
+VERSION = $(shell grep -m 1 -o '[0-9][0-9.]\+' README)
 SNAPSHOT_NAME ?= $(NAME)-$(VERSION)-$(shell git rev-parse HEAD | cut -b 1-8).tar.gz
 # Find suitable python version (need python >= 2.6 or 3.1):
 PYTHON ?= $(shell python -c 'import sys; sys.exit(sys.version < "2.6")' && \