[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

executable scripts in debian/



I need to run a script as part of debian/rules.  I can't rely on it
being executable when unpacked, since dpkg-source doesn't preserve the
mode.

I can explicitly call its interpreter (Perl in this case):
    /usr/bin/perl debian/my-script ....
or I can set it executable each time:
    chmod +x debian/my-script
    debian/my-script ...

Is there a preferred approach?  Thanks.

-- 
Eric Cooper             e c c @ c m u . e d u


Reply to: