aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrebuild_perl_iurt4
1 files changed, 2 insertions, 2 deletions
diff --git a/rebuild_perl_iurt b/rebuild_perl_iurt
index 358d56b..8522b46 100755
--- a/rebuild_perl_iurt
+++ b/rebuild_perl_iurt
@@ -58,6 +58,6 @@ cat <<EOF
# Use the following to rebuild binary packages _not_ depending on libperl.so:
# Those will install w/o dep issue but will fail at runtime with eg:
# lib/RPM2.c: loadable library and perl binaries are mismatched (got handshake key 0xcd00080, needed 0xed00080)
-(for i in perl*;do rpm -qpl $i|fgrep -q .so&&echo $i;done>>/tmp/PERLBIN)
-(for i in $(</tmp/PERLBIN);do rpm -qpR $i|fgrep -q libperl||rpm -qp --qf '%{sourcerpm}\n' $i;done>>/tmp/PERLBIN2)
+(for i in perl*;do rpm -qpl \$i|fgrep -q .so&&echo \$i;done>>/tmp/PERLBIN)
+(for i in \$(</tmp/PERLBIN);do rpm -qpR \$i|fgrep -q libperl||rpm -qp --qf '%{sourcerpm}\n' \$i;done>>/tmp/PERLBIN2)
EOF