mirror of
https://github.com/obra/superpowers.git
synced 2026-04-21 17:09:07 +08:00
Revert "Move brainstorm server metadata to .meta/ subdirectory"
This reverts commit ab500dade6.
This commit is contained in:
@@ -13,8 +13,7 @@ if [[ -z "$SCREEN_DIR" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
META_DIR="${SCREEN_DIR}/.meta"
|
||||
PID_FILE="${META_DIR}/.server.pid"
|
||||
PID_FILE="${SCREEN_DIR}/.server.pid"
|
||||
|
||||
if [[ -f "$PID_FILE" ]]; then
|
||||
pid=$(cat "$PID_FILE")
|
||||
@@ -43,7 +42,7 @@ if [[ -f "$PID_FILE" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
rm -f "$PID_FILE" "${META_DIR}/.server.log"
|
||||
rm -f "$PID_FILE" "${SCREEN_DIR}/.server.log"
|
||||
|
||||
# Only delete ephemeral /tmp directories
|
||||
if [[ "$SCREEN_DIR" == /tmp/* ]]; then
|
||||
|
||||
Reference in New Issue
Block a user