mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:52:45 +08:00
avoid getting duplicates in docker dev paths
This commit is contained in:
parent
2f792bc59f
commit
32d881399f
|
@ -1,8 +1,8 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
SCRIPTPATH=$(cd "$(dirname "$0")"; pwd -P)
|
||||
SOURCE_DIR=$(cd "$SCRIPTPATH" && cd ../.. && pwd -P)
|
||||
SCRIPTPATH=$(cd "$(dirname "$0")" > /dev/null; pwd -P)
|
||||
SOURCE_DIR=$(cd "$SCRIPTPATH" > /dev/null; cd ../.. > /dev/null; pwd -P)
|
||||
DATA_DIR="$SOURCE_DIR/data/postgres"
|
||||
|
||||
show_help() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user