From 31d825d2231bbf5c68c5798a58cb914af97477f8 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 2 Jul 2014 22:19:09 +0800 Subject: [PATCH] Fixed the sed call to fix the secre_key path. Rewritten-From: 9fc44aafd3e631339dd242bd56a826ffdecb81b8 --- xenial/debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xenial/debian/rules b/xenial/debian/rules index e8db157..829581c 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -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 -- 2.45.2