From 46b3edce13eb726fbfc451bf7fb256281fefe518 Mon Sep 17 00:00:00 2001 From: Lukas Berk Date: Wed, 23 Apr 2014 15:59:03 -0400 Subject: [PATCH] Fix typo in systemtap.spec file rpm scriptlet *systemtap.spec - switch directory check condition to use '${archdir}' variable instead of %{archdir} --- systemtap.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/systemtap.spec b/systemtap.spec index a5ca228c1..02b2746cd 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -781,10 +781,10 @@ for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do arch=`basename $f | cut -f2 -d_ | cut -f1 -d.` %endif for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do - if [ -d %{archdir} ]; then + if [ -d ${archdir} ]; then ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar - fi + fi done done @@ -818,10 +818,10 @@ for f in %{_libexecdir}/systemtap/libHelperSDT_*.so; do arch=`basename $f | cut -f2 -d_ | cut -f1 -d.` %endif for archdir in %{_jvmdir}/*openjdk*/jre/lib/${arch}; do - if [ -d %{archdir} ]; then + if [ -d ${archdir} ]; then ln -sf %{_libexecdir}/systemtap/libHelperSDT_${arch}.so ${archdir}/libHelperSDT_${arch}.so ln -sf %{_libexecdir}/systemtap/HelperSDT.jar ${archdir}/../ext/HelperSDT.jar - fi + fi done done -- 2.43.5