Use $* instead of $@ in mastosearch so bash puts all args in a single string
This commit is contained in:
parent
2247d396c9
commit
5bebd74248
|
@ -1,3 +1,3 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
|
|
||||||
sudo -u mastodon PAGER=less psql -c "select * from statuses where text ilike '%$@%'"
|
sudo -u mastodon PAGER=less psql -c "select * from statuses where text ilike '%$*%'"
|
||||||
|
|
Loading…
Reference in a new issue