aboutsummaryrefslogtreecommitdiff
path: root/tools/cpm/package/vars/key.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpm/package/vars/key.sh')
-rwxr-xr-xtools/cpm/package/vars/key.sh21
1 files changed, 0 insertions, 21 deletions
diff --git a/tools/cpm/package/vars/key.sh b/tools/cpm/package/vars/key.sh
deleted file mode 100755
index e6d68c2abb..0000000000
--- a/tools/cpm/package/vars/key.sh
+++ /dev/null
@@ -1,21 +0,0 @@
-#!/bin/sh -e
-
-# SPDX-FileCopyrightText: Copyright 2025 crueter
-# SPDX-License-Identifier: LGPL-3.0-or-later
-
-if [ "$KEY" = null ]; then
- if [ "$SHA" != null ]; then
- KEY=$(echo "$SHA" | cut -c1-4)
- elif [ "$GIT_VERSION" != null ]; then
- KEY="$GIT_VERSION"
- elif [ "$TAG" != null ]; then
- KEY="$TAG"
- elif [ "$VERSION" != null ]; then
- KEY="$VERSION"
- else
- echo "!! No valid key could be determined for $PACKAGE_NAME. Must define one of: key, sha, tag, version, git_version"
- exit 1
- fi
-fi
-
-export KEY