summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbeierl <mark.beierl@dell.com>2017-05-02 10:42:56 -0400
committermbeierl <mark.beierl@dell.com>2017-05-02 10:42:56 -0400
commit8f7c8dbd36e04f4976562bbe527e2b3efcfa332e (patch)
tree928211ea3ab4bb7352b50719d32d7d15b1e3aec4
parent67ef3ea942d5d2eaff46572936f12d4ccab4d89c (diff)
Fix admin.rc generation
Explicitly filters out anything that is not an environment variable. Change-Id: I0694649623b837d2ab4b2196abf45973d0e63168 JIRA: STORPERF-124 Signed-off-by: mbeierl <mark.beierl@dell.com>
-rwxr-xr-xci/generate-admin-rc.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/generate-admin-rc.sh b/ci/generate-admin-rc.sh
index 07a0a3e..3c0b33a 100755
--- a/ci/generate-admin-rc.sh
+++ b/ci/generate-admin-rc.sh
@@ -42,5 +42,5 @@ then
echo export OS_PROJECT_NAME=admin >> job/openstack.rc
fi
-sed "s/export //" job/openstack.rc > job/admin.rc
+grep "export" job/openstack.rc | sed "s/export //" > job/admin.rc
echo "INSTALLER_TYPE=${INSTALLER}" >> job/admin.rc