summaryrefslogtreecommitdiffstats
path: root/ci/generate-admin-rc.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/generate-admin-rc.sh')
-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