Name : perl-App-ChangeShebang
| |
Version : 0.100.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 150600.1.1
| Date : 2024-07-15 22:39:45
|
Group : Unspecified
| Source RPM : perl-App-ChangeShebang-0.100.0-150600.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : change shebang lines for relocatable perl
|
Description :
change-shebang changes shebang lines from
to
exec \"$(dirname \"$0\")\"/perl -x \"$0\" \"$AATT\"
Why do we need this?
Let\'s say you build perl with relocatable enabled (\'-Duserelocatableinc\'). Then the shebang lines of executable scripts point at the installation time perl binary path.
So if you move your perl directory to other places, the shebang lines of executable scripts point at a wrong perl binary and we cannot execute scripts. Oops!
A solution of that problem is to replace shebang lines by
exec \"$(dirname \"$0\")\"/perl -x \"$0\" \"$AATT\"
which means that scripts will be executed by the perl located in the same directory.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_15_SP6/noarch |