uninstalled: Symbolic link support for the script file
authorPhilippe Normand <philn@igalia.com>
Fri, 15 Sep 2017 12:24:54 +0000 (13:24 +0100)
committerPhilippe Normand <philn@igalia.com>
Fri, 15 Sep 2017 13:59:49 +0000 (14:59 +0100)
This allows the user to invoke the uninstalled shell using a symbolic link to
gst-uninstalled.py.

gst-uninstalled.py

index 7823cf6..d808701 100755 (executable)
@@ -13,7 +13,7 @@ import tempfile
 
 from common import get_meson
 
-SCRIPTDIR = os.path.abspath(os.path.dirname(__file__))
+SCRIPTDIR = os.path.dirname(os.path.realpath(__file__))
 PREFIX_DIR = os.path.join(SCRIPTDIR, 'prefix')