]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Fixed the sed call to fix the secre_key path.
authorThomas Goirand <thomas@goirand.fr>
Wed, 2 Jul 2014 14:19:09 +0000 (22:19 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 2 Jul 2014 14:19:09 +0000 (22:19 +0800)
Rewritten-From: 9fc44aafd3e631339dd242bd56a826ffdecb81b8

xenial/debian/rules

index e8db157af838140b50b6e91c199474fe62564c4c..829581cae2e1e555604cb37e80ed10a37092c3c5 100755 (executable)
@@ -24,7 +24,7 @@ override_dh_auto_install:
        # Sets memcached by default in local_settings.py
        cp $(CURDIR)/openstack_dashboard/local/local_settings.py.example \
                $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
-       sed -i -e 's/SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join(LOCAL_PATH,/SECRET_KEY = secret_key.generate_or_read_from_file(os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' \
+       sed -i -e 's/os.path.join(LOCAL_PATH,/os.path.join("\/","var","lib","openstack-dashboard","secret-key",/' \
                $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py
        echo "COMPRESS_OFFLINE=True" >> $(CURDIR)/debian/tmp/etc/openstack-dashboard/local_settings.py