create PREFIX/bin before symlinking binaries

This commit is contained in:
Lephenixnoir 2021-11-20 15:34:53 +01:00
parent 0c7154437d
commit b9b571d73c
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495

View file

@ -20,6 +20,7 @@ cd ..
# Symbolic link executables to $PREFIX/bin # Symbolic link executables to $PREFIX/bin
echo "$TAG Symlinking binaries..." echo "$TAG Symlinking binaries..."
mkdir -p "$PREFIX/bin"
for x in bin/*; do for x in bin/*; do
ln -sf "$(pwd)/$x" "$PREFIX/$x" ln -sf "$(pwd)/$x" "$PREFIX/$x"
done done