Skip to content

Commit

Permalink
removed useless cat
Browse files Browse the repository at this point in the history
  • Loading branch information
ZigRazor committed Jun 6, 2022
1 parent daa7f69 commit 1c4da0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packaging/make_packaging.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/bash

#variables
MAJOR=$(cat ../include/CXXGraphConfig.h | grep CXXGraph_VERSION_MAJOR | awk '{ print $3 }')
MINOR=$(cat ../include/CXXGraphConfig.h | grep CXXGraph_VERSION_MINOR | awk '{ print $3 }')
PATCH=$(cat ../include/CXXGraphConfig.h | grep CXXGraph_VERSION_PATCH | awk '{ print $3 }')
MAJOR=$(grep CXXGraph_VERSION_MAJOR ../include/CXXGraphConfig.h | awk '{ print $3 }')
MINOR=$(grep CXXGraph_VERSION_MINOR ../include/CXXGraphConfig.h | awk '{ print $3 }')
PATCH=$(grep CXXGraph_VERSION_PATCH ../include/CXXGraphConfig.h | awk '{ print $3 }')

echo "Packaging version $MAJOR.$MINOR.$PATCH"

Expand Down

0 comments on commit 1c4da0f

Please sign in to comment.