[Eisfair] Eisfair-2 Warning using regular magic file `/etc/magic.mime'
Holger Bruenjes
holgerbruenjes at gmx.net
Do Okt 2 00:16:26 CEST 2014
Hallo Olaf
Am 2014-10-01 um 23:50 schrieb Holger Bruenjes:
>> + grep -q mime-encoding
>> + _opt1=--mime
>> + _opt2='| cut -d= -f2'
>> ++ file -b --mime base.tar.gz.info '|' cut -d= -f2
>
>> Sieht so aus als ob file die "'" beim `file`-Aufruf nicht korrekt
>> interpretiert
>
> file schon, die shell quoted, mift
>
> Ich weiss nur nicht wie ich das verhindern kann, ohne alles doppelt
> zu schreiben.
aender mal diese Zeile 67 und setze 'eval' dazu
[... ist
_f_encoding="$(file -b ${_opt1} "${__conf_file}" ${_opt2})"
[... soll
_f_encoding="$(eval file -b ${_opt1} "${__conf_file}" ${_opt2})"
Holger
Mehr Informationen über die Mailingliste Eisfair