diff options
author | Raymond Danks <raymond@edanks.com> | 2006-07-24 16:21:00 +0000 |
---|---|---|
committer | Raymond Danks <raymond@edanks.com> | 2006-07-24 16:21:00 +0000 |
commit | a600389c54d9626fb74f6e18775a8c76b20ff554 (patch) | |
tree | 61843d836b63c3c5868dbc3262aaa35be155327b /packages/rpm2cpio/rpm2cpio-native_1.2_2.bb | |
parent | cd7764ab1dfc6775dc444295f0d9527ea8f23f56 (diff) |
rpm2cpio-native - Change interpreter to /usr/bin/env perl.
Diffstat (limited to 'packages/rpm2cpio/rpm2cpio-native_1.2_2.bb')
-rw-r--r-- | packages/rpm2cpio/rpm2cpio-native_1.2_2.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb b/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb index 4d3392c128..23d6fead53 100644 --- a/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb +++ b/packages/rpm2cpio/rpm2cpio-native_1.2_2.bb @@ -17,5 +17,9 @@ do_stage() { install -d ${STAGING_BINDIR} sed -e '1,1s|${bindir}/|${bindir}/env |' bin/rpm2cpio.pl \ > ${STAGING_BINDIR}/rpm2cpio.pl + + my_PERL="/usr/bin/env perl" + sed -e "s%/[a-zA-Z0-9/]*/bin/perl%$my_PERL%g" -i ${STAGING_BINDIR}/rpm2cpio.pl + chmod 0755 ${STAGING_BINDIR}/rpm2cpio.pl } |