@@ -401,66 +401,66 @@ else
401
401
402
402
echo " Copying libraries and binaries to $DYNADJUST_INSTALL_PATH ..."
403
403
404
- if [[ ( -e " ./bin/dynadjust" ) && ( " all" == " $_binary " || " $_binary " =~ " dynadjust" ) ]]; then
405
- sudo cp ./bin/dynadjust " $DYNADJUST_INSTALL_PATH /"
404
+ if [[ ( -e " ../.. /bin/dynadjust" ) && ( " all" == " $_binary " || " $_binary " =~ " dynadjust" ) ]]; then
405
+ sudo cp ../.. /bin/dynadjust " $DYNADJUST_INSTALL_PATH /"
406
406
ln -sf " $DYNADJUST_INSTALL_PATH /dynadjust" " $BIN_FOLDER_FULLPATH /dynadjust"
407
407
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dynadjust" /opt/dynadjust/dynadjust
408
408
echo " - dynadjust"
409
409
fi
410
410
411
- if [[ ( -e " ./bin/dnaadjust" ) && ( " all" == " $_binary " || " $_binary " =~ " adjust" ) ]]; then
412
- sudo cp ./bin/libdnaadjust.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
413
- sudo cp ./bin/dnaadjust " $DYNADJUST_INSTALL_PATH /"
411
+ if [[ ( -e " ../.. /bin/dnaadjust" ) && ( " all" == " $_binary " || " $_binary " =~ " adjust" ) ]]; then
412
+ sudo cp ../.. /bin/libdnaadjust.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
413
+ sudo cp ../.. /bin/dnaadjust " $DYNADJUST_INSTALL_PATH /"
414
414
ln -sf " $DYNADJUST_INSTALL_PATH /dnaadjust" " $BIN_FOLDER_FULLPATH /dnaadjust"
415
415
ln -sf " $DYNADJUST_INSTALL_PATH /libdnaadjust.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnaadjust.$_lib_ext "
416
416
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnaadjust.$_lib_ext " /opt/dynadjust/libdnaadjust.$_lib_ext
417
417
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dnaadjust" /opt/dynadjust/dnaadjust
418
418
echo " - dnaadjust, libdnaadjust.$_lib_ext "
419
419
fi
420
420
421
- if [[ ( -e " ./bin/dnaimport" ) && ( " all" == " $_binary " || " $_binary " =~ " import" ) ]]; then
422
- sudo cp ./bin/libdnaimport.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
423
- sudo cp ./bin/dnaimport " $DYNADJUST_INSTALL_PATH /"
421
+ if [[ ( -e " ../.. /bin/dnaimport" ) && ( " all" == " $_binary " || " $_binary " =~ " import" ) ]]; then
422
+ sudo cp ../.. /bin/libdnaimport.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
423
+ sudo cp ../.. /bin/dnaimport " $DYNADJUST_INSTALL_PATH /"
424
424
ln -sf " $DYNADJUST_INSTALL_PATH /dnaimport" " $BIN_FOLDER_FULLPATH /dnaimport"
425
425
ln -sf " $DYNADJUST_INSTALL_PATH /libdnaimport.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnaimport.$_lib_ext "
426
426
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnaimport.$_lib_ext " /opt/dynadjust/libdnaimport.$_lib_ext
427
427
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dnaimport" /opt/dynadjust/dnaimport
428
428
echo " - dnaimport, libdnaimport.$_lib_ext "
429
429
fi
430
430
431
- if [[ ( -e " ./bin/dnareftran" ) && ( " all" == " $_binary " || " $_binary " =~ " reftran" ) ]]; then
432
- sudo cp ./bin/libdnareftran.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
433
- sudo cp ./bin/dnareftran " $DYNADJUST_INSTALL_PATH /"
431
+ if [[ ( -e " ../.. /bin/dnareftran" ) && ( " all" == " $_binary " || " $_binary " =~ " reftran" ) ]]; then
432
+ sudo cp ../.. /bin/libdnareftran.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
433
+ sudo cp ../.. /bin/dnareftran " $DYNADJUST_INSTALL_PATH /"
434
434
ln -sf " $DYNADJUST_INSTALL_PATH /dnareftran" " $BIN_FOLDER_FULLPATH /dnareftran"
435
435
ln -sf " $DYNADJUST_INSTALL_PATH /libdnareftran.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnareftran.$_lib_ext "
436
436
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnareftran.$_lib_ext " /opt/dynadjust/libdnareftran.$_lib_ext
437
437
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dnareftran" /opt/dynadjust/dnareftran
438
438
echo " - dnareftran, libdnareftran.$_lib_ext "
439
439
fi
440
440
441
- if [[ ( -e " ./bin/dnageoid" ) && ( " all" == " $_binary " || " $_binary " =~ " geoid" ) ]]; then
442
- sudo cp ./bin/libdnageoid.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
443
- sudo cp ./bin/dnageoid " $DYNADJUST_INSTALL_PATH /"
441
+ if [[ ( -e " ../.. /bin/dnageoid" ) && ( " all" == " $_binary " || " $_binary " =~ " geoid" ) ]]; then
442
+ sudo cp ../.. /bin/libdnageoid.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
443
+ sudo cp ../.. /bin/dnageoid " $DYNADJUST_INSTALL_PATH /"
444
444
ln -sf " $DYNADJUST_INSTALL_PATH /dnageoid" " $BIN_FOLDER_FULLPATH /dnageoid"
445
445
ln -sf " $DYNADJUST_INSTALL_PATH /libdnageoid.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnageoid.$_lib_ext "
446
446
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnageoid.$_lib_ext " /opt/dynadjust/libdnageoid.$_lib_ext
447
447
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dnageoid" /opt/dynadjust/dnageoid
448
448
echo " - dnageoid, libdnageoid.$_lib_ext "
449
449
fi
450
450
451
- if [[ ( -e " ./bin/dnasegment" ) && ( " all" == " $_binary " || " $_binary " =~ " segment" ) ]]; then
452
- sudo cp ./bin/libdnasegment.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
453
- sudo cp ./bin/dnasegment " $DYNADJUST_INSTALL_PATH /"
451
+ if [[ ( -e " ../.. /bin/dnasegment" ) && ( " all" == " $_binary " || " $_binary " =~ " segment" ) ]]; then
452
+ sudo cp ../.. /bin/libdnasegment.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
453
+ sudo cp ../.. /bin/dnasegment " $DYNADJUST_INSTALL_PATH /"
454
454
ln -sf " $DYNADJUST_INSTALL_PATH /dnasegment" " $BIN_FOLDER_FULLPATH /dnasegment"
455
455
ln -sf " $DYNADJUST_INSTALL_PATH /libdnasegment.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnasegment.$_lib_ext "
456
456
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnasegment.$_lib_ext " /opt/dynadjust/libdnasegment.$_lib_ext
457
457
sudo ln -sf " $DYNADJUST_INSTALL_PATH /dnasegment" /opt/dynadjust/dnasegment
458
458
echo " - dnasegment, libdnasegment.$_lib_ext "
459
459
fi
460
460
461
- if [[ ( -e " ./bin/dnaplot" ) && ( " all" == " $_binary " || " $_binary " =~ " plot" ) ]]; then
462
- sudo cp ./bin/libdnaplot.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
463
- sudo cp ./bin/dnaplot " $DYNADJUST_INSTALL_PATH /"
461
+ if [[ ( -e " ../.. /bin/dnaplot" ) && ( " all" == " $_binary " || " $_binary " =~ " plot" ) ]]; then
462
+ sudo cp ../.. /bin/libdnaplot.$_lib_ext " $DYNADJUST_INSTALL_PATH /"
463
+ sudo cp ../.. /bin/dnaplot " $DYNADJUST_INSTALL_PATH /"
464
464
ln -sf " $DYNADJUST_INSTALL_PATH /dnaplot" " $BIN_FOLDER_FULLPATH /dnaplot"
465
465
ln -sf " $DYNADJUST_INSTALL_PATH /libdnaplot.$_lib_ext " " $BIN_FOLDER_FULLPATH /libdnaplot.$_lib_ext "
466
466
sudo ln -sf " $DYNADJUST_INSTALL_PATH /libdnaplot.$_lib_ext " /opt/dynadjust/libdnaplot.$_lib_ext
0 commit comments