office/pdfstudioviewer: Replaced backtick cmdsub.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2024-07-15 04:34:46 -04:00 committed by Willy Sudiarto Raharjo
parent 5ebda810a7
commit a0304db45b
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -83,11 +83,11 @@ mkdir -p usr/doc/$PRGNAM-$VERSION
if [ "${OWNJAVA:-no}" = "yes" ]; then if [ "${OWNJAVA:-no}" = "yes" ]; then
cd opt/pdfstudioviewer${YEAR}/jre cd opt/pdfstudioviewer${YEAR}/jre
for pack_file in lib/*.jar.pack; do for pack_file in lib/*.jar.pack; do
jar_file=`echo "$pack_file" | awk '{ print substr($0,1,length-5) }'` jar_file=$( echo "$pack_file" | awk '{ print substr($0,1,length-5) }' )
bin/unpack200 -r "$pack_file" "$jar_file" bin/unpack200 -r "$pack_file" "$jar_file"
done done
for pack_file in lib/ext/*.jar.pack; do for pack_file in lib/ext/*.jar.pack; do
jar_file=`echo "$pack_file" | awk '{ print substr($0,1,length-5) }'` jar_file=$( echo "$pack_file" | awk '{ print substr($0,1,length-5) }' )
bin/unpack200 -r "$pack_file" "$jar_file" bin/unpack200 -r "$pack_file" "$jar_file"
done done
bin/java -Xshare:dump &>/dev/null bin/java -Xshare:dump &>/dev/null