mirror of
https://github.com/danog/termux-api-package.git
synced 2024-11-26 20:34:48 +01:00
Disable globbing in termux-notification.
Fixes https://github.com/termux/termux-api/issues/120 `termux-notification --content '*'` should mean the content of the notifiation is `*` and not a list of files. The globbing, if desired, should be done by the shell starting the process ``` echo * # does globbing echo '*' does not do globbing termux-notification --content * # Does globbing (but errors, since this won't be valid syntax). termux-notification --content '*' # Does globbing without this patch but shouldn't ```
This commit is contained in:
parent
21878b4622
commit
06d4a0bf2f
@ -1,5 +1,5 @@
|
||||
#!/data/data/com.termux/files/usr/bin/bash
|
||||
set -e -u
|
||||
set -e -u -f
|
||||
|
||||
SCRIPTNAME=termux-notification
|
||||
show_usage () {
|
||||
|
Loading…
Reference in New Issue
Block a user