From 820be1bcb38273c0c7adc44b4a474c08273cdf61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz=20=28arab=2C=20vx?= =?UTF-8?q?p=29?= Date: Sat, 9 Jul 2016 14:36:05 +0000 Subject: General cleanup; user-visible changes: -a nt{32,64}, -b {debug,release}. --- midipix.sh | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'midipix.sh') diff --git a/midipix.sh b/midipix.sh index a800acc6..2e03abe3 100755 --- a/midipix.sh +++ b/midipix.sh @@ -23,7 +23,7 @@ convert_links_ask() { [yY]) break; ;; *) echo "Exiting."; exit 5; ;; esac; - for _link_name in $(find ${MIDIPIX_PATH}/native/lib \ + for _link_name in $(find ${MIDIPIX_PATH}/native/lib \ -maxdepth 1 -name \*.so -type l); do _link_target="$(readlink -- "${_link_name}")"; if [ -f "${MIDIPIX_PATH}/native/lib/${_link_target}" ]; then @@ -37,9 +37,9 @@ convert_links_ask() { check_prereq_files() { local _fname; - for _fname in native/bin/ntctty.exe \ - native/bin/chroot \ - native/bin/env \ + for _fname in native/bin/ntctty.exe \ + native/bin/chroot \ + native/bin/env \ native/bin/bash; do if [ ! -e ${MIDIPIX_PATH}/${_fname} ]; then return 1; @@ -70,10 +70,10 @@ elif [ -n "${NATIVE_LIB_LINKS:=$(find ${MIDIPIX_PATH}/native/lib -maxdepth 1 -na convert_links_ask || exit 5; else check_prereq_files || exit 6; - if [ -f ${MIDIPIX_PATH}/native/bin/libpsxscl.log ]; then - echo Found libpsxscl.log, copying to ${MIDIPIX_PATH}/native/bin/libpsxscl.last. - cp ${MIDIPIX_PATH}/native/bin/libpsxscl.log \ - ${MIDIPIX_PATH}/native/bin/libpsxscl.last || exit 7; + if [ -f ${MIDIPIX_PATH}/libpsxscl.log ]; then + echo Found libpsxscl.log, copying to ${MIDIPIX_PATH}/libpsxscl.last. + cp -p -- ${MIDIPIX_PATH}/libpsxscl.log \ + ${MIDIPIX_PATH}/libpsxscl.last || exit 7; fi; echo "Absolute Midipix pathname: ${MIDIPIX_PATH}"; if [ "${UNAME_OS}" = "Msys" ]; then -- cgit v1.2.3