mirror of
https://github.com/getsentry/self-hosted.git
synced 2025-12-08 19:46:14 +00:00
Update sentry-admin.sh to select its own working directory (#3184)
`sentry-admin.sh` only works when called from the working directory and not using its absolute path. This change makes it also callable using its absolute path.
This commit is contained in:
parent
e39ac04ccc
commit
65779a77a5
@ -1,5 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Set the script directory as working directory.
|
||||
cd $(dirname $0)
|
||||
|
||||
# Detect docker and platform state.
|
||||
source install/dc-detect-version.sh
|
||||
source install/detect-platform.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user