From 32818582ca4c4f9b4b5c19579e88eb19d8623149 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Fri, 23 Nov 2018 01:09:51 +0100 Subject: bin/setup: Fix `.env` paths Now that `bin/setup` has been moved outside of `license-generator/`. --- bin/setup | 8 ++++---- 1 file 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 -- cgit v1.2.3