mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-09 11:16:39 -05:00
Fix placement of the LC_TYPE and LANG variables for macos
This commit is contained in:
parent
feed1d8646
commit
2b433f9daf
1 changed files with 1 additions and 1 deletions
2
init.sh
2
init.sh
|
@ -83,7 +83,7 @@ grep -qe '^CACHE_BUST=' .env || {
|
||||||
}
|
}
|
||||||
|
|
||||||
msg "Updating ${c_y}CACHE_BUST$c_w variable"
|
msg "Updating ${c_y}CACHE_BUST$c_w variable"
|
||||||
LC_CTYPE=C LANG=C sed -i 's|^CACHE_BUST=.*|CACHE_BUST='"$(tr -dc A-Za-z0-9 </dev/urandom | head -c 32)"'|' .env
|
sed -i 's|^CACHE_BUST=.*|CACHE_BUST='"$(LC_CTYPE=C LANG=C tr -dc A-Za-z0-9 </dev/urandom | head -c 32)"'|' .env
|
||||||
|
|
||||||
(( ! no_artisan )) && {
|
(( ! no_artisan )) && {
|
||||||
msg "Running: ${c_m}php artisan migrate"
|
msg "Running: ${c_m}php artisan migrate"
|
||||||
|
|
Loading…
Reference in a new issue