Fix of scripts.xml patch line

This commit is contained in:
Krizsán Péter 2024-10-06 23:27:28 +02:00
parent a29d61da37
commit 204a3598db

View File

@ -80,4 +80,4 @@ DOWNLOAD_URL="https://github.com/libsdl-org/SDL_ttf/archive/refs/heads/main.zip
sed -i -E "s@(sdl2-ttf-download-http \"+)(.+\">)@\1$DOWNLOAD_URL\">@" ./general/graphlib/sdl2-ttf.xml sed -i -E "s@(sdl2-ttf-download-http \"+)(.+\">)@\1$DOWNLOAD_URL\">@" ./general/graphlib/sdl2-ttf.xml
# Patch scripts.xsl to handle -O parameter in wget urls # Patch scripts.xsl to handle -O parameter in wget urls
sed -i "s/basename \$URL/basename \$URL | awk -F' ' '{ print \$NF}'/g" ../blfs_root/xsl/scripts.xsl sed -i "s/BOOTPACKG=\$(basename \$URL)/BOOTPACKG=\$(basename \$URL | awk -F' ' '{ print \$NF}')/g" ../blfs_root/xsl/scripts.xsl