Commit 83d228d9 authored by Filipe Laíns's avatar Filipe Laíns 🌈 Committed by Lukas Fleischer
Browse files

spawn: expand AUR_CONFIG to the full path

This allows using a relative path for the config. PHP didn't play well
with it.

Signed-off-by: Filipe Laíns's avatarFilipe Laíns <>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent 8c28ba6e
......@@ -11,6 +11,7 @@ configuration anyway.
import argparse
import atexit
import os
import os.path
import subprocess
import sys
import tempfile
......@@ -87,6 +88,9 @@ def start():
if 'AUR_CONFIG' in os.environ:
os.environ['AUR_CONFIG'] = os.path.realpath(os.environ['AUR_CONFIG'])
terminal_width = os.get_terminal_size().columns
except OSError:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment