Re: [mlmmj] [PATCH 2/2] src/mlmmj-make-ml.in: use the YES from -a
Geert Stappers <[email protected]>
| Newsgroups | org.mlmmj.mlmmj |
|---|---|
| Message-ID | <[email protected]> |
On Thu, May 11, 2017 at 05:12:32PM +0000, Eric Wong wrote: > Geert Stappers <[email protected]> wrote: > > -if [ -n "$A_CREATE" ]; then > > +if [ "$A_CREATE" = "YES" ]; then > > echo "I want to add the following to your $ALIASFILE file:" > > echo "$ALIAS" > > "=" is not portable, I suggest "=" for scripts run by /bin/sh > (which may not be bash, Debian-based systems tend to use dash, > there) yes (our mails did cross each other) Groeten Geert Stappers -- Leven en laten leven