mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2023-10-10 13:36:57 +02:00
Fix recreation of keys on every execution (#27)
* Fix recreation of keys on every execution
This commit is contained in:
parent
6c8789cd67
commit
5d01d3c661
7
build.sh
7
build.sh
@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
# If there aren't any keys, generate them first.
|
||||
[ -e ./keys/cert.cert] || ./.keys/generate-keys.sh
|
||||
[ -e ./.keys/cert.cert ] || ./.keys/generate-keys.sh
|
||||
|
||||
[ -e ./src/bitBetter/api/.keys ] || mkdir ./src/bitBetter/api/.keys
|
||||
[ -e ./src/bitBetter/identity/.keys ] || mkdir ./src/bitBetter/identity/.keys
|
||||
|
||||
[ -e ./source/bitBetter/api/.keys ] || mkdir ./src/bitBetter/api/.keys
|
||||
[ -e ./source/bitBetter/identity/.keys ] || mkdir ./src/bitBetter/identity/.keys
|
||||
cp .keys/cert.cert ./src/bitBetter/api/.keys
|
||||
cp .keys/cert.cert ./src/bitBetter/identity/.keys
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user