From 42272014548e16ffd9f5091e8056b6401d2ec42c Mon Sep 17 00:00:00 2001 From: Brett Randall Date: Sat, 23 May 2015 23:02:50 +1000 Subject: [PATCH] $ in sed example needs escaping in bash --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a59bd51..18827d5 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ mvn install -Dexternal.version-qualifier=rc1 Add a version qualifier to all non-master branches ``` -mvn install -Dexternal.version-qualifier=$(git symbolic-ref --short HEAD| sed s_^master$__) +mvn install -Dexternal.version-qualifier=$(git symbolic-ref --short HEAD| sed s_^master\$__) ``` Or how about a short git hash?