github.com/turingchain2020/turingchain@v1.1.21/system/dapp/coins/cmd/build.sh (about)

     1  #!/bin/bash
     2  
     3  strpwd=$(pwd)
     4  strcmd=${strpwd##*dapp/}
     5  strapp=${strcmd%/cmd*}
     6  
     7  OUT_DIR="${1}/system/$strapp"
     8  #FLAG=$2
     9  
    10  mkdir -p "${OUT_DIR}"
    11  cp ./build/* "${OUT_DIR}"