libraries/libmp3splt: Fix weird FTBFS when VERSION exported in env.

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

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-01-10 15:06:46 -05:00 committed by Willy Sudiarto Raharjo
parent 09ef489c68
commit 954db786c6
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -71,6 +71,11 @@ fi
set -e
# 20230110 bkw: this build fails if VERSION is set in the environment.
# Apparently slapt-src always exports VERSION, so slint users had
# problems.
export -n VERSION
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP