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 7823cf6271db8ac21877e7da593e5b7bdbd177d3..d8087014a76c75f4787fc083da8a430c812c2c82 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')