2
0
mirror of https://github.com/bpkg/bpkg synced 2024-11-08 01:10:36 +00:00

Create the installation directory if required

This commit is contained in:
Sebastian Schuberth 2015-06-25 15:39:39 +02:00
parent bff2fde9c9
commit 84b0eeab90

View File

@ -68,6 +68,7 @@ CMDS="json install package term suggest init utils update list show"
make_install () { make_install () {
make_uninstall make_uninstall
echo " info: Installing $PREFIX/bin/$BIN..." echo " info: Installing $PREFIX/bin/$BIN..."
install -d "$PREFIX/bin"
install "$BIN" "$PREFIX/bin" install "$BIN" "$PREFIX/bin"
for cmd in $CMDS; do for cmd in $CMDS; do
install "$BIN-$cmd" "$PREFIX/bin" install "$BIN-$cmd" "$PREFIX/bin"