Add missing script

This commit is contained in:
Knut Ahlers 2017-12-14 15:38:11 +01:00
parent 15abdb3765
commit a982aab40a
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

10
bin/path-dedup.py Executable file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import os
out = []
[out.append(i) for i in os.environ["PATH"].split(":") if not out.count(i)]
print(":".join(out))