Updated run.sh to only use the sh shell
This commit is contained in:
parent
5d51efefa4
commit
030999c720
4
run.sh
4
run.sh
@ -1,4 +1,4 @@
|
||||
#! /usr/bin/env bash
|
||||
#! /usr/bin/env sh
|
||||
|
||||
# Danbooru Bot, an image posting bot for Pleroma
|
||||
# Copyright (C) 2022 Anon <@Anon@yandere.cc>
|
||||
@ -27,7 +27,7 @@ ENTRY='./src/main.py'
|
||||
# cd into the bot's root path, set up the virtual environment, and run
|
||||
cd "$RUN_DIR"
|
||||
[ ! -f "$VENV" ] && echo "Virtual environment not found: ${VENV}" && cd - > /dev/null && exit 1
|
||||
source "$VENV"
|
||||
. "$VENV"
|
||||
"$ENTRY" "$@"
|
||||
|
||||
RETURN_CODE="$?"
|
||||
|
Reference in New Issue
Block a user