MANIFEST_PLACEHOLER_REPLACER: removed wrong hash return

This commit is contained in:
XargonWan 2025-01-09 10:31:53 +09:00
parent b2c314f759
commit d692e18bd3
2 changed files with 3 additions and 5 deletions

View file

@ -87,9 +87,6 @@ get_hash() {
if [ "$use_cache" == "true" ] && [ -f "$cache_file" ]; then
# Try to retrieve hash from cache
hash=$(grep "^$url " "$cache_file" | cut -d ' ' -f2)
if [ -n "$hash" ]; then
echo "Cache file exists, using cached hash for $url"
fi
fi
# If hash is not found in cache, calculate it

View file

@ -19,7 +19,8 @@ else
rm -f "placeholders.cache"
fi
read -rp "Do you want to clear the build cache?\nKeeping the build cache can speed up the build process, but it might cause issues and should be cleared occasionally [y/N] " clear_cache_input
echo "Do you want to clear the build cache?"
read -rp "Keeping the build cache can speed up the build process, but it might cause issues and should be cleared occasionally [y/N] " clear_cache_input
clear_cache_input=${clear_cache_input:-N}
if [[ "$clear_cache_input" =~ ^[Yy]$ ]]; then
# User chose to clear the build cache