diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-08-06 16:13:59 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2014-08-06 16:15:27 +0200 |
commit | 8c220643fe26b7f2f82e6bb963564fb24e56c107 (patch) | |
tree | 19c3075ecf25fe209ee740aa1dcaf0d63eb15fe5 /scripts | |
parent | 9962c1e510186079844887d54a0d8dc78c4f9e29 (diff) | |
download | ptxdist-8c220643fe26b7f2f82e6bb963564fb24e56c107.tar.gz ptxdist-8c220643fe26b7f2f82e6bb963564fb24e56c107.tar.xz |
ptxd_install_replace: escape ',' in pattern and value
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/ptxd_make_xpkg_pkg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_xpkg_pkg.sh b/scripts/lib/ptxd_make_xpkg_pkg.sh index 58245c9b4..c80adea10 100644 --- a/scripts/lib/ptxd_make_xpkg_pkg.sh +++ b/scripts/lib/ptxd_make_xpkg_pkg.sh @@ -473,7 +473,7 @@ install replace: " && ptxd_exist "${dirs[@]/%/${dst}}" && - sed -i -e "s,${placeholder},${value},g" "${dirs[@]/%/${dst}}" || + sed -i -e "s,${placeholder//,/\\,},${value//,/\\,},g" "${dirs[@]/%/${dst}}" || ptxd_install_error "install_replace failed!" } |