Merge pull request #24 from Crossbell-Box/fix-env-replacement
fix: wrong wholename in entrypoint
This commit is contained in:
commit
9ffd75b153
|
|
@ -22,7 +22,7 @@ function apply_path {
|
|||
if [ -n "$configValue" ] && [ -n "$envValue" ]; then
|
||||
# replace all
|
||||
echo "Replace: ${configValue} with: ${envValue}"
|
||||
find $nextFolder \( -type d -wholename .next/cache -prune \) \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#$configValue#$envValue#g"
|
||||
find $nextFolder \( -type d -name cache -prune \) \( -type d -name .git -prune \) -o -type f -print0 | xargs -0 sed -i "s#$configValue#$envValue#g"
|
||||
fi
|
||||
done < $envFilename
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue