aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2022-06-03 18:40:27 +0000
committerPascal Terjan <pterjan@mageia.org>2022-06-03 18:40:27 +0000
commite3807dca1b4868ccc0f50bf70487ac7e56174629 (patch)
tree3438a061fd56d725b37c1afce06bb9099e109193
parentb173de9a8dad47d6732ae3853c73c572014efab8 (diff)
downloadiurt-e3807dca1b4868ccc0f50bf70487ac7e56174629.tar
iurt-e3807dca1b4868ccc0f50bf70487ac7e56174629.tar.gz
iurt-e3807dca1b4868ccc0f50bf70487ac7e56174629.tar.bz2
iurt-e3807dca1b4868ccc0f50bf70487ac7e56174629.tar.xz
iurt-e3807dca1b4868ccc0f50bf70487ac7e56174629.zip
Escape dollars in the message
-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