Align license headers with REUSE guidelines
[kuberef.git] / deploy.sh
index d817022..f0bca92 100755 (executable)
--- a/deploy.sh
+++ b/deploy.sh
@@ -1,12 +1,8 @@
 #!/bin/bash
-# SPDX-license-identifier: Apache-2.0
-##############################################################################
-# Copyright (c) Ericsson AB and others
-# All rights reserved. This program and the accompanying materials
-# are made available under the terms of the Apache License, Version 2.0
-# which accompanies this distribution, and is available at
-# http://www.apache.org/licenses/LICENSE-2.0
-##############################################################################
+
+# SPDX-FileCopyrightText: 2021 Ericsson AB and others
+#
+# SPDX-License-Identifier: Apache-2.0
 
 set -o errexit
 set -o nounset
@@ -23,15 +19,14 @@ export CURRENTPATH
 
 # shellcheck source=./functions.sh
 source "$CURRENTPATH/functions.sh"
+# shellcheck source=./deploy.env
+source "$CURRENTPATH/deploy.env"
 
 # ---------------------------------------------------------------------
 # check installation and runtime prerequisites
 # ---------------------------------------------------------------------
 check_prerequisites
 
-# shellcheck source=./deploy.env
-source "$CURRENTPATH/deploy.env"
-
 # ---------------------------------------------------------------------
 # creates a virtual environment for installation of dependencies
 # ---------------------------------------------------------------------