system/lsb-release: 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:39:20 -04:00 committed by Willy Sudiarto Raharjo
parent b86c6ac373
commit 93bb5e99ea
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -61,7 +61,7 @@ make
make install prefix=$PKG/usr
# create lsb config file and install it into the $PKG directory
DIST_VER=`cut -d " " -f 2 /etc/slackware-version`
DIST_VER=$( cut -d " " -f 2 /etc/slackware-version )
mkdir -p $PKG/etc
sed "s/current/$DIST_VER/" $CWD/$PRGNAM.slk > $PKG/etc/$PRGNAM