fkeitxflf 6 years ago
parent
commit
f6be03b3d8
1 changed files with 3 additions and 4 deletions
  1. 3 4
      pack.sh

+ 3 - 4
pack.sh

@@ -54,7 +54,7 @@ function create_ca() {
 
     mkdir -p $dir/scripts
     cp -rf examples $dir
-    cp -rf crypto-config $dir
+    cp -rf channel $dir
     cp -rf fabricca $dir
     cp -rf scripts $dir
     cp -rf docker-compose $dir
@@ -94,8 +94,7 @@ function create_orderer() {
     chmod u+x $dir/download-dockerimages.sh
     chmod u+x $dir/start.sh
 
-    mkdir -p $dir/crypto-config
-    cp -rf crypto-config $dir/
+    cp -rf channel $dir
     cp -rf docker-compose $dir
     cp -rf docker-compose-orderer0.yaml $dir
     tar -cvf "$dir"0.tar $dir
@@ -130,7 +129,7 @@ function create_peer() {
         cp -rf docker-compose $project
         cp -rf docker-compose-peer"$N".yaml $project
         cp -rf peer-base/peer-base.yaml $project/peer-base/peer-base.yaml
-        cp -rf crypto-config $project/
+        cp -rf channel $project/
         tar -cvf "$project"_peer$N.tar $project
         gzip "$project"_peer$N.tar
         rm -rf $project