Skip to content

Commit 4a9323b

Browse files
committed
Update binary location
1 parent 13acc6f commit 4a9323b

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

resources/make_dynadjust_gcc.sh

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -401,55 +401,55 @@ else
401401

402402
echo "Copying libraries and binaries to $DYNADJUST_INSTALL_PATH ..."
403403

404-
if [[ -e "./dynadjust/dynadjust/dynadjust" ]]; then
405-
sudo cp ./dynadjust/dynadjust/dynadjust "$DYNADJUST_INSTALL_PATH/"
404+
if [[ -e "./bin/dynadjust" ]]; then
405+
sudo cp ./bin/dynadjust "$DYNADJUST_INSTALL_PATH/"
406406
ln -sf "$DYNADJUST_INSTALL_PATH/dynadjust" "$BIN_FOLDER_FULLPATH/dynadjust"
407407
echo " - dynadjust"
408408
fi
409409

410-
if [[ -e "./dynadjust/dnaadjustwrapper/dnaadjust" ]]; then
411-
sudo cp ./dynadjust/dnaadjust/libdnaadjust.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
412-
sudo cp ./dynadjust/dnaadjustwrapper/dnaadjust "$DYNADJUST_INSTALL_PATH/"
410+
if [[ -e "./bin/dnaadjust" ]]; then
411+
sudo cp ./bin/libdnaadjust.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
412+
sudo cp ./bin/dnaadjust "$DYNADJUST_INSTALL_PATH/"
413413
ln -sf "$DYNADJUST_INSTALL_PATH/dnaadjust" "$BIN_FOLDER_FULLPATH/dnaadjust"
414414
ln -sf "$DYNADJUST_INSTALL_PATH/libdnaadjust.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnaadjust.$_lib_ext"
415415
echo " - dnaadjust, libdnaadjust.$_lib_ext"
416416
fi
417417

418-
if [[ -e "./dynadjust/dnaimportwrapper/dnaimport" ]]; then
419-
sudo cp ./dynadjust/dnaimport/libdnaimport.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
420-
sudo cp ./dynadjust/dnaimportwrapper/dnaimport "$DYNADJUST_INSTALL_PATH/"
418+
if [[ -e "./bin/dnaimport" ]]; then
419+
sudo cp ./bin/libdnaimport.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
420+
sudo cp ./bin/dnaimport "$DYNADJUST_INSTALL_PATH/"
421421
ln -sf "$DYNADJUST_INSTALL_PATH/dnaimport" "$BIN_FOLDER_FULLPATH/dnaimport"
422422
ln -sf "$DYNADJUST_INSTALL_PATH/libdnaimport.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnaimport.$_lib_ext"
423423
echo " - dnaimport, libdnaimport.$_lib_ext"
424424
fi
425425

426-
if [[ -e "./dynadjust/dnareftranwrapper/dnareftran" ]]; then
427-
sudo cp ./dynadjust/dnareftran/libdnareftran.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
428-
sudo cp ./dynadjust/dnareftranwrapper/dnareftran "$DYNADJUST_INSTALL_PATH/"
426+
if [[ -e "./bin/dnareftran" ]]; then
427+
sudo cp ./bin/libdnareftran.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
428+
sudo cp ./bin/dnareftran "$DYNADJUST_INSTALL_PATH/"
429429
ln -sf "$DYNADJUST_INSTALL_PATH/dnareftran" "$BIN_FOLDER_FULLPATH/dnareftran"
430430
ln -sf "$DYNADJUST_INSTALL_PATH/libdnareftran.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnareftran.$_lib_ext"
431431
echo " - dnareftran, libdnareftran.$_lib_ext"
432432
fi
433433

434-
if [[ -e "./dynadjust/dnageoidwrapper/dnageoid" ]]; then
435-
sudo cp ./dynadjust/dnageoid/libdnageoid.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
436-
sudo cp ./dynadjust/dnageoidwrapper/dnageoid "$DYNADJUST_INSTALL_PATH/"
434+
if [[ -e "./bin/dnageoid" ]]; then
435+
sudo cp ./bin/libdnageoid.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
436+
sudo cp ./bin/dnageoid "$DYNADJUST_INSTALL_PATH/"
437437
ln -sf "$DYNADJUST_INSTALL_PATH/dnageoid" "$BIN_FOLDER_FULLPATH/dnageoid"
438438
ln -sf "$DYNADJUST_INSTALL_PATH/libdnageoid.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnageoid.$_lib_ext"
439439
echo " - dnageoid, libdnageoid.$_lib_ext"
440440
fi
441441

442-
if [[ -e "./dynadjust/dnasegmentwrapper/dnasegment" ]]; then
443-
sudo cp ./dynadjust/dnasegment/libdnasegment.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
444-
sudo cp ./dynadjust/dnasegmentwrapper/dnasegment "$DYNADJUST_INSTALL_PATH/"
442+
if [[ -e "./bin/dnasegment" ]]; then
443+
sudo cp ./bin/libdnasegment.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
444+
sudo cp ./bin/dnasegment "$DYNADJUST_INSTALL_PATH/"
445445
ln -sf "$DYNADJUST_INSTALL_PATH/dnasegment" "$BIN_FOLDER_FULLPATH/dnasegment"
446446
ln -sf "$DYNADJUST_INSTALL_PATH/libdnasegment.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnasegment.$_lib_ext"
447447
echo " - dnasegment, libdnasegment.$_lib_ext"
448448
fi
449449

450-
if [[ -e "./dynadjust/dnaplotwrapper/dnaplot" ]]; then
451-
sudo cp ./dynadjust/dnaplot/libdnaplot.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
452-
sudo cp ./dynadjust/dnaplotwrapper/dnaplot "$DYNADJUST_INSTALL_PATH/"
450+
if [[ -e "./bin/dnaplot" ]]; then
451+
sudo cp ./bin/libdnaplot.$_lib_ext "$DYNADJUST_INSTALL_PATH/"
452+
sudo cp ./bin/dnaplot "$DYNADJUST_INSTALL_PATH/"
453453
ln -sf "$DYNADJUST_INSTALL_PATH/dnaplot" "$BIN_FOLDER_FULLPATH/dnaplot"
454454
ln -sf "$DYNADJUST_INSTALL_PATH/libdnaplot.$_lib_ext" "$BIN_FOLDER_FULLPATH/libdnaplot.$_lib_ext"
455455
echo " - dnaplot, libdnaplot.$_lib_ext"

0 commit comments

Comments
 (0)