From 79cc67599aac05f9fcc6c5b466093edd368fdf5c Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Thu, 3 Nov 2011 15:19:04 +0100 Subject: [PATCH] proper escapting --- kernel_inpbuilder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel_inpbuilder.py b/kernel_inpbuilder.py index 0e0bb56..b61d877 100644 --- a/kernel_inpbuilder.py +++ b/kernel_inpbuilder.py @@ -446,7 +446,7 @@ if __name__ == '__main__': kernel_persistence.update_kernel_branch_obj(kernel_revision_obj, git_helper.git_get_commit_id()) # update changelog - cmd = 'sed -i -e "s#DUMMY_ENTRY#%s#" -e "s#DUMMY_DATE#%s#" %s' % (git_helper.git_get_commit_id(),git_helper.git_get_commit_date(),os.path.join(OVERLAY_DIR,'changelog')) + cmd = 'sed -i -e \'s#DUMMY_ENTRY#%s#\' -e \'s#DUMMY_DATE#%s#\' %s' % (git_helper.git_get_commit_id(),git_helper.git_get_commit_date(),os.path.join(OVERLAY_DIR,'changelog')) logger.info(cmd) os.system(cmd) -- 2.39.5