summaryrefslogtreecommitdiffstats
path: root/bin/install_megadrivers.py
diff options
context:
space:
mode:
Diffstat (limited to 'bin/install_megadrivers.py')
-rw-r--r--bin/install_megadrivers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/install_megadrivers.py b/bin/install_megadrivers.py
index d29b1911218..f751c8329c4 100644
--- a/bin/install_megadrivers.py
+++ b/bin/install_megadrivers.py
@@ -35,7 +35,7 @@ def main():
args = parser.parse_args()
if os.path.isabs(args.libdir):
- to = os.path.join(os.environ.get('DESTDIR', '/'), args.libdir[1:])
+ to = os.path.join(os.environ.get('DESTDIR', ''), args.libdir)
else:
to = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.libdir)