install script with options of install directory and command prefix

This commit is contained in:
2023-02-02 13:36:55 +01:00
parent f0a2744435
commit a1fbaed6e9

View File

@ -111,7 +111,8 @@ else
fi
(cp build/* "${INSTALL_DIR}/bin" 2> /dev/null) \
|| sudo cp build/* "${INSTALL_DIR}/bin"
|| (echo "Please enter your password for installing obitools in ${INSTALL_DIR}"
sudo cp build/* "${INSTALL_DIR}/bin")
popd