�
㦧b� � �n � d dl Z d dlZd dlZd dlmZ d dlmZ d� Zd� Zd� Z G d� dej
� � ZdS ) � N)�find_package)�basec � � d} t j � t j � t j d� � � � rd} | S )Nz share/man�man)�os�path�exists�join�sys�prefix)�manpaths �1/usr/lib/python3/dist-packages/pbr/hooks/files.py�get_manpathr s; � ��G� �w�~�~�b�g�l�l�3�:�u�5�5�6�6� �
���N� c �` � t j � t � � d| z � � S )Nzman%s)r r r
r )�sections r �get_man_sectionr # s! � �
�7�<�<��
�
�w��'8�9�9�9r c � � t j dk rQ| � dd� � } d� t j | � � � � � dd� � S d� t j | � � � � S )N�nt�\�/� )r �name�replacer
�shlex�split)r s r �unquote_pathr ' |