Remove unnecessary commands in stage-archive.sh 82/12982/4
authorgarciadeblas <gerardo.garciadeblas@telefonica.com>
Wed, 15 Feb 2023 14:57:29 +0000 (15:57 +0100)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Fri, 24 Feb 2023 20:52:05 +0000 (21:52 +0100)
Change-Id: I934c37813a7a2e189a1734838e1acdb004d0fe0d
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
Signed-off-by: Mark Beierl <mark.beierl@canonical.com>
devops-stages/stage-archive.sh

index 92315f6..f4d65db 100755 (executable)
@@ -1,9 +1,25 @@
 #!/bin/sh
+#######################################################################################
+# Copyright ETSI Contributors and Others.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#    http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+# implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#######################################################################################
 rm -rf pool
 rm -rf dists
 mkdir -p pool/osmclient
 mv deb_dist/*.deb pool/osmclient/
-mkdir -p dists/unstable/osmclient/binary-amd64/
-apt-ftparchive packages pool/osmclient > dists/unstable/osmclient/binary-amd64/Packages
-gzip -9fk dists/unstable/osmclient/binary-amd64/Packages
-echo 'dists/**,pool/osmclient/*.deb'
+mkdir -p dists/unstable/osmclient/binary-amd64/
+apt-ftparchive packages pool/osmclient > dists/unstable/osmclient/binary-amd64/Packages
+gzip -9fk dists/unstable/osmclient/binary-amd64/Packages
+echo 'dists/**,pool/osmclient/*.deb'