aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2018-11-23 01:09:51 +0100
committerTeddy Wing2018-11-23 01:09:51 +0100
commit32818582ca4c4f9b4b5c19579e88eb19d8623149 (patch)
tree3d372d6380e9673bdc0e76f6a0625040cad32d19
parentd6969f4eb4aba04e9b3569c45e6c689320861e86 (diff)
downloaddome-key-web-32818582ca4c4f9b4b5c19579e88eb19d8623149.tar.bz2
bin/setup: Fix `.env` paths
Now that `bin/setup` has been moved outside of `license-generator/`.
-rwxr-xr-xbin/setup8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/setup b/bin/setup
index a2d27a4..342d22a 100755
--- a/bin/setup
+++ b/bin/setup
@@ -47,11 +47,11 @@ if [ "$1" = "--install" ]; then
fi
-if [ ! -f .env ]; then
- cp .env.sample .env
+if [ ! -f license-generator/.env ]; then
+ cp license-generator/env.sample license-generator/.env
fi
-vim .env
-source .env
+vim license-generator/.env
+source license-generator/.env
migrate-up