Skip to content

Commit

Permalink
cp -a => cp -r
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCyjaneK committed Jul 31, 2024
1 parent 40f62dc commit a10bdce
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion external/ios/build_boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -d "$BOOST_DIR_PATH" ]; then
echo "Boost directory already exists."
else
echo "Cloning Boost from $BOOST_URL"
cp -a "${MONEROC_DIR}/external/Apple-Boost-BuildScript" $BOOST_DIR_PATH
cp -r "${MONEROC_DIR}/external/Apple-Boost-BuildScript" $BOOST_DIR_PATH
fi

# Verify if the repository was cloned successfully.
Expand Down
2 changes: 1 addition & 1 deletion external/ios/build_openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -d "$OPEN_SSL_DIR_PATH" ]; then
echo "OpenSSL directory already exists."
else
echo "Cloning OpenSSL from $OPEN_SSL_URL"
cp -a "${MONEROC_DIR}/external/OpenSSL-for-iPhone" $OPEN_SSL_DIR_PATH
cp -r "${MONEROC_DIR}/external/OpenSSL-for-iPhone" $OPEN_SSL_DIR_PATH
fi

# Verify if the repository was cloned successfully.
Expand Down
2 changes: 1 addition & 1 deletion external/ios/build_sodium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if [ -d "$SODIUM_PATH" ]; then
echo "Sodium directory already exists."
else
echo "Cloning Sodium from $SODIUM_URL"
cp -a "${MONEROC_DIR}/external/libsodium" $SODIUM_PATH
cp -r "${MONEROC_DIR}/external/libsodium" $SODIUM_PATH
fi

../../../../libsodium_apple-ios.sh
Expand Down
2 changes: 1 addition & 1 deletion external/ios/build_unbound.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if [ -d "$UNBOUND_DIR_PATH" ]; then
echo "Unbound directory already exists."
else
echo "Cloning Unbound from $Unbound_URL"
cp -a "${MONEROC_DIR}/external/unbound" ${UNBOUND_DIR_PATH}
cp -r "${MONEROC_DIR}/external/unbound" ${UNBOUND_DIR_PATH}
fi

# Verify if the repository was cloned successfully.
Expand Down
2 changes: 1 addition & 1 deletion external/ios/build_wownero_seed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SEED_SRC_DIR="${EXTERNAL_IOS_SOURCE_DIR}/seed"
rm -rf "$SEED_SRC_DIR" > /dev/null

echo "[*] cloning $SEED_URL"
cp -a "${MONEROC_DIR}/external/wownero-seed" ${SEED_SRC_DIR}
cp -r "${MONEROC_DIR}/external/wownero-seed" ${SEED_SRC_DIR}
cd $SEED_SRC_DIR

patch -p1 < ../../../../../wownero-seed-0001-fix-duplicate-symbol-error.patch
Expand Down
2 changes: 1 addition & 1 deletion external/ios/build_zmq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -d "$ZMQ_PATH" ]; then
echo "ZeroMQ directory already exists."
else
echo "Cloning ZeroMQ from $ZeroMQ_URL"
cp -a "${MONEROC_DIR}/external/libzmq" $ZMQ_PATH
cp -r "${MONEROC_DIR}/external/libzmq" $ZMQ_PATH
fi

# Verify if the repository was cloned successfully.
Expand Down

0 comments on commit a10bdce

Please sign in to comment.