1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-23 21:35:11 +03:00

test-execute: skip exec-specifier-interpolation if perl is missing

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2018-03-22 09:24:14 +01:00
parent 6b08180ca6
commit a5935c6601

View File

@ -3,4 +3,4 @@ Description=https://github.com/systemd/systemd/issues/2637
[Service]
Type=oneshot
ExecStart=/bin/sh -x -c "perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"
ExecStart=/bin/sh -x -c "! test -x perl || perl -e 'exit(!(qq{%%U} eq qq{\\x25U}))'"