mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
update release note and the install script
Former-commit-id: 11db481e26f3f5099b9ea8b2d66658d47f2992b1
This commit is contained in:
@ -63,7 +63,7 @@ mkdir -p "${INSTALL_DIR}/bin" 2> /dev/null \
|
||||
|| (echo "Please enter your password for installing obitools in ${INSTALL_DIR}" 1>&2
|
||||
sudo mkdir -p "${INSTALL_DIR}/bin")
|
||||
|
||||
if [[ ! "${INSTALL_DIR}/bin" || ! -d "${INSTALL_DIR}/bin" ]]; then
|
||||
if [[ ! -d "${INSTALL_DIR}/bin" ]]; then
|
||||
echo "Could not create ${INSTALL_DIR}/bin directory for installing obitools" 1>&2
|
||||
exit 1
|
||||
fi
|
||||
@ -109,7 +109,7 @@ export PATH
|
||||
curl -L "$OBIURL4" \
|
||||
| tar zxf -
|
||||
|
||||
cd obitools4-master
|
||||
cd obitools4-master || exit
|
||||
|
||||
if [[ -z "$OBITOOLS_PREFIX" ]] ; then
|
||||
make
|
||||
@ -121,7 +121,7 @@ fi
|
||||
|| (echo "Please enter your password for installing obitools in ${INSTALL_DIR}"
|
||||
sudo cp build/* "${INSTALL_DIR}/bin")
|
||||
|
||||
popd
|
||||
popd || exit
|
||||
|
||||
# rm -rf "$WORK_DIR"
|
||||
rm -rf "$WORK_DIR"
|
||||
|
||||
|
Reference in New Issue
Block a user