1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 03:29:45 +01:00

systemd: fix quoting in glob pattern

This commit is contained in:
Robert Helgesson 2017-01-09 22:49:29 +01:00
parent dd0e71d686
commit 8a196bb62b
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -79,8 +79,8 @@ in
--new-line-format='+%L' \
--old-line-format='-%L' \
--unchanged-line-format=' %L' \
<(basename -a $(echo "$oldUserServicePath/*.service") | sort) \
<(basename -a $(echo "$newUserServicePath/*.service") | sort) \
<(basename -a $(echo "$oldUserServicePath/"*.service) | sort) \
<(basename -a $(echo "$newUserServicePath/"*.service) | sort) \
> $servicesDiffFile
local -a maybeRestart=( $(grep '^ ' $servicesDiffFile | cut -c2-) )