cpt

Carbs Packaging Tools
git clone git://git.carbslinux.org/cpt
Log | Files | Refs | README | LICENSE

commit abb97d7f6a1fe2aa6f9ebfb4588acec7e4d8cf9f
parent 3c47d68fa0db8fcf67f7188e98bb0370eb430820
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu,  4 Feb 2021 22:04:13 +0300

shellspec: simplify sed call

Diffstat:
Mspec/02_src_spec.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/spec/02_src_spec.sh b/spec/02_src_spec.sh @@ -10,7 +10,7 @@ Describe 'Main toolchain' Describe 'cpt' Describe '--version' - VERSION=$(grep VERSION config.mk | sed 's/.* //g') + VERSION=$(sed -n '/VERSION/s/.* //gp' config.mk) It 'outputs cpt version' When run script src/cpt --version The stderr should eq "-> Carbs Packaging Tools $VERSION"