1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-04 05:43:47 +00:00

Use git to find project_dir

This commit is contained in:
2018-04-24 08:55:50 -04:00
parent 45a7ab3e6c
commit 3cfcc9ff91
5 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/bash -e
project_dir="$(dirname $( dirname $(readlink -f ${BASH_SOURCE[0]})))"
project_dir="$(git rev-parse --show-toplevel)"
if [ $# != 1 ]; then
echo "Please enter docker image name for the rails development environment"