Samuel VERSCHELDE 01d1e88b1a Fix %post and %postun generation in kmodtool
During zfs-kmod RPM build, $(uname -r) gets unintentionally evaluated on
the build host, once and for all. It should be evaluated during the
execution of the scriptlets on the installation host. Escaping the $
character avoids evaluating it during build.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Neal Gompa <ngompa@datto.com>
Signed-off-by: Samuel Verschelde <stormi-xcp@ylix.fr>
Closes #8866
2019-06-10 09:06:58 -07:00
..
2012-08-27 11:47:44 -07:00
2019-05-08 10:59:32 -07:00
2017-08-09 15:31:08 -07:00
2018-05-01 10:33:35 -07:00
2019-02-04 09:07:19 -08:00
2018-01-25 13:42:34 -08:00