2 # This helper transforms files with wrong perl path to the correct
3 # one pointing at PKGFS_MASTERDIR/bin/perl.
10 [ -z "$files" ] && exit 1
13 [ ! -f $f ] && continue
14 $sed_cmd -e "s|^#!.*/usr/bin/perl|#!$PKGFS_MASTERDIR/bin/perl|" \
15 $f > $f.
in && $mv_cmd -f $f.
in $f && \
16 echo "=> Transformed $(basename $f) with correct path."