graysky2 / profile-sync-daemon

Symlinks and syncs browser profile dirs to RAM thus reducing HDD/SDD calls and speeding-up browsers.
https://wiki.archlinux.org/index.php/Profile-sync-daemon
Other
913 stars 88 forks source link

grep: warning: stray \ before - #338

Closed glitsj16 closed 2 years ago

glitsj16 commented 2 years ago

Hi, with 6.47-1 I'm getting a grep warning when running profile-sync-daemon, regardless of what flag I use:

$ profile-sync-daemon --help
grep: warning: stray \ before a
Profile-sync-daemon v6.45
[...]
$ profile-sync-daemon preview
grep: warning: stray \ before a
Profile-sync-daemon v6.45
[...]

When I edit /usr/bin/profile-sync-daemon L130 from if ! declare -p BROWSERS | grep -q 'declare -\a'; then to if ! declare -p BROWSERS | grep -q 'declare -a'; then the warning goes away.

Not sure, but it might have to do with grep now depending on pcre2 instead of pcre (cfr. this change).

Perhaps this impacts #337 too, but I don't use Librewolf to confirm.

Also, as you can see in the above output, the version shown is still at 6.45, even though the package is now at 6.47. Just a cosmetic thing, but I thought you might want to be informed on it nonetheless.

manfred3000 commented 2 years ago

Perhaps this impacts #337 too, but I don't use Librewolf to confirm.

I'm running librewolf with this without issues on Arch Linux, but then I don't use overlayfs... EDIT: I also can confirm the issues mentioned above.

graysky2 commented 2 years ago

Thanks guys, fixed in last commit