aboutsummaryrefslogtreecommitdiff
path: root/spec/01_lib_spec.sh
diff options
context:
space:
mode:
Diffstat (limited to 'spec/01_lib_spec.sh')
-rw-r--r--spec/01_lib_spec.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/01_lib_spec.sh b/spec/01_lib_spec.sh
index 6deef06..9e8ab36 100644
--- a/spec/01_lib_spec.sh
+++ b/spec/01_lib_spec.sh
@@ -10,7 +10,7 @@ Describe 'CPT Library'
End
End
Describe 'version()'
- VERSION=$(grep VERSION ./config.rc | sed 's/.* //g')
+ VERSION=$(sed -n '/VERSION/s/.* //gp' config.mk)
It 'prints version information'
When run script src/cpt-lib version
The stderr should eq "-> Carbs Packaging Tools $VERSION"