github.com/yimialmonte/fabric@v2.1.1+incompatible/integration/externalbuilders/golang/bin/release (about)

     1  #!/bin/bash
     2  
     3  # Copyright IBM Corp. All Rights Reserved.
     4  #
     5  # SPDX-License-Identifier: Apache-2.0
     6  
     7  set -euo pipefail
     8  
     9  if [ "$#" -ne 2 ]; then
    10      >&2 echo "Expected 2 directories got $#"
    11      exit 2
    12  fi
    13  
    14  BLD="$1"
    15  RELEASE="$2"
    16  
    17  if [ -d "$BLD/META-INF" ] ; then
    18     cp -a "$BLD/META-INF"/* "$RELEASE"
    19  fi