Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Fix PWD directory of start script #3138

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions start-mycroft.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
# See the License for the specific language governing permissions and
# limitations under the License.

SOURCE="$0"

script=${0}
script=${script##*/}
cd -P "$( dirname "$SOURCE" )" || exit 1 # Enter scripts folder or fail!
DIR="$( pwd )"

DIR="$(realpath -- "$PWD")"
VIRTUALENV_ROOT=${VIRTUALENV_ROOT:-"${DIR}/.venv"}

help() {
Expand Down