]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rpm: drop use of $FIRST_ARG
authorFranck Bui <fbui@suse.com>
Thu, 28 Feb 2019 09:55:22 +0000 (10:55 +0100)
committerNathan Cutler <ncutler@suse.com>
Thu, 28 Feb 2019 13:03:30 +0000 (14:03 +0100)
commit926433f5d45e557c42f050b43798ba29dc495e02
treecb7cbe9a04e3d000140e74e20e6aa2a9d19d1461
parenta65a03137aec4b6f53e0d9c0ac314d44f3152c4b
rpm: drop use of $FIRST_ARG

The use of $FIRST_ARG was probably required because the SUSE-specific
%service_* rpm macros were playing tricks on the shell positional parameters.
This is bad practice and error-prone, so let's assume that no macros should do
that anymore and hence it's safe to assume that positional parameters remain
unchanged after any rpm macro call.

Thanks to Franck Bui for providing this patch.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
ceph.spec.in