From 0cfc5b1d762f34226a80408cdbd2f09b6786d2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Berg?= Date: Tue, 20 Oct 2009 07:48:00 +0200 Subject: [PATCH] Bug fix: small error in rsync detection between MacPorts and builtin. --- scripts/install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/install.sh b/scripts/install.sh index c2e21b4..e128629 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -35,11 +35,10 @@ function strcont() { if [[ $(strcont $BUILD_STYLE "Install") == 1 ]]; then echo "Installing to ${CUSTOM_INSTALL_DIR}... (switch to build config other than Install to avoid)" if [[ -e /opt/local/bin/rsync ]]; then - /opt/local/bin/rsync -rlHEptog --xattrs --acls "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME" "$CUSTOM_INSTALL_DIR/$FULL_PRODUCT_NAME" + /opt/local/bin/rsync -rlHEptog --xattrs --acls "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME" "$CUSTOM_INSTALL_DIR/" else - rsync -rlHEptog "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME" "$CUSTOM_INSTALL_DIR/$FULL_PRODUCT_NAME" + /usr/bin/rsync -rlHEptog "$BUILT_PRODUCTS_DIR/$FULL_PRODUCT_NAME" "$CUSTOM_INSTALL_DIR/" fi - else echo '$BUILD_STYLE does not contain "Install"... nothing to copy' fi \ No newline at end of file