mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-06-10 09:52:12 +02:00
Remove useless "cat" invocation.
This commit is contained in:
parent
e972f911b0
commit
b1bd1a1f79
|
@ -4,7 +4,7 @@ ROOT="$(cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd)"
|
|||
|
||||
VERSION=
|
||||
if [ -s "$ROOT/../version.txt" ]; then
|
||||
VERSION=$(cat "$ROOT/../version.txt" | tr -d '[:space:]')
|
||||
VERSION=$(tr -d '[:space:]' < "$ROOT/../version.txt")
|
||||
fi
|
||||
if [ -z "$VERSION" ] && [ -d "$ROOT/../.git" ]; then
|
||||
TAG=$(git tag --points-at HEAD | sed 's/v//')
|
||||
|
|
Loading…
Reference in a new issue