mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 19:51:50 +00:00
I ran into issues setting up Sourcegraph on NixOS, because NixOS, like some other distros, doesn't have a /bin/bash. We already use /usr/bin/env in many of our scripts, so this improves consistency, too.
23 lines
437 B
Bash
Executable File
23 lines
437 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
unset CDPATH
|
|
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/../.." # cd to repo root dir
|
|
|
|
source ./dev/phabricator/shared.sh
|
|
|
|
# if [ "$(docker ps -aq -f name=$db_container)" ];
|
|
# then
|
|
# docker stop $db_container
|
|
# docker rm $db_container
|
|
# fi
|
|
|
|
docker ps -aq -f network=$network | xargs docker rm -f
|
|
|
|
# if [ "$(docker ps -aq -f name=$app_container)" ];
|
|
# then
|
|
# docker stop $app_container
|
|
# docker rm $app_container
|
|
# fi
|