Skip to content

Commit 5ba6f6c

Browse files
Update build_aegisum_mac.sh
1 parent 2d72ba3 commit 5ba6f6c

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

build_aegisum_mac.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,11 @@ cd Aegisum
132132
echo -e "${GREEN}>>> Patching Boost copy_option -> copy_options in wallet/bdb.cpp...${RESET}"
133133
BDB_CPP_FILE="wallet/bdb.cpp"
134134
if grep -q "fs::copy_file.*copy_option::overwrite_if_exists" "$BDB_CPP_FILE"; then
135-
sed -i '' 's/fs::copy_option::overwrite_if_exists/fs::copy_options::overwrite_existing/g' "$BDB_CPP_FILE"
136-
echo -e "${CYAN}✔ Patched $BDB_CPP_FILE${RESET}"
135+
sed -i '' \
136+
-e 's/fs::copy_option::overwrite_if_exists/fs::copy_options::overwrite_existing/g' \
137+
-e 's/fs::copy_option/fs::copy_options/g' \
138+
"$BDB_CPP_FILE"
139+
echo -e "${CYAN}✔ Fully patched $BDB_CPP_FILE (namespace + enum)${RESET}"
137140
else
138141
echo -e "${CYAN}✔ No patch needed for $BDB_CPP_FILE${RESET}"
139142
fi

0 commit comments

Comments
 (0)