Skip to content

Commit

Permalink
Merge pull request #6 from borschphp/keygen-fix
Browse files Browse the repository at this point in the history
Fix: error with / on sed cmd
  • Loading branch information
debuss committed Feb 24, 2023
2 parents e4eadcd + 2266e26 commit e9d6303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"scripts": {
"post-create-project-cmd": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\"",
"BORSCH_TEMP_KEYGEN=`openssl rand -base64 32`;sed -i \"s/APP_KEY=/APP_KEY=$BORSCH_TEMP_KEYGEN/g\" .env"
"BORSCH_TEMP_KEYGEN=`openssl rand -base64 32`;sed -i \"s|APP_KEY=|APP_KEY=$BORSCH_TEMP_KEYGEN|g\" .env"
],
"serve": "php -S 0.0.0.0:8080 -t ./public/ ./public/index.php",
"optimize": "composer install --prefer-dist --optimize-autoloader --no-dev",
Expand Down

0 comments on commit e9d6303

Please sign in to comment.