Skip to content

Commit

Permalink
Merge pull request #15 from mizdebsk/fix-ansible-regexp
Browse files Browse the repository at this point in the history
Backend: Fix chroot_setup_cmd regex for custom chroot
  • Loading branch information
clime committed Sep 20, 2016
2 parents 59a3484 + 39c766c commit 17acf2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/backend/mockremote/builder.py
Expand Up @@ -188,8 +188,7 @@ def setup_mock_chroot_config(self):
buildroot_custom_cmd = (
"dest={cfg_path}"
" line=\"config_opts['chroot_setup_cmd'] = 'install {pkgs}'\""
" regexp=\"config_opts['chroot_setup_cmd'] = ''$\""
" backrefs=yes"
" regexp=\"config_opts\\['chroot_setup_cmd'\\] = ''$\""
)
set_networking_cmd = (
"dest={cfg_path}"
Expand Down

0 comments on commit 17acf2b

Please sign in to comment.