]> git.parisson.com Git - telemeta.git/commitdiff
Fix find script in app.sh
authorThomas Fillon <thomas@parisson.com>
Fri, 2 Jun 2017 15:09:01 +0000 (17:09 +0200)
committerThomas Fillon <thomas@parisson.com>
Fri, 2 Jun 2017 15:09:01 +0000 (17:09 +0200)
app/scripts/app.sh

index afb0bbd3f5d186a1f6291be338cb612196c82b7c..e2fd420358c4b628b64a3622ad5560d232c9291b 100644 (file)
@@ -39,7 +39,7 @@ if [ $REINDEX = "True" ]; then
 fi
 
 # fix media access rights
-find $media -type d -path -not -path $media/import -exec chown www-data:www-data {} \;
+find $media -type d -not -path $media\import -exec chown www-data:www-data {} \;
 
 # choose dev or prod mode
 if [ "$1" = "--runserver" ]; then