|
[Rivet-svn] rivet: Another attempt at getting rivet-buildplugin to behaveRivet Mercurial rivet at projects.hepforge.orgFri Dec 16 00:00:02 GMT 2016
details: https://rivet.hepforge.org/hg/rivet/rev/6c54b2aa8d75 branches: release-2-5-x changeset: 5659:6c54b2aa8d75 user: Andy Buckley <andy at insectnation.org> date: Thu Dec 15 23:56:29 2016 +0000 description: Another attempt at getting rivet-buildplugin to behave diffs (11 lines): --- a/bin/rivet-buildplugin.in Thu Dec 15 12:51:26 2016 +0000 +++ b/bin/rivet-buildplugin.in Thu Dec 15 23:56:29 2016 +0000 @@ -113,7 +113,7 @@ tmp=$(echo "$tmp" | sed -e 's/--cmd//g' -e 's/--dry-run//g') ## Reset positional params now that flags have been removed -set $tmp "" #< NB. protection against empty $tmp arg!! +test -n "$tmp" && set $tmp #< NB. protection against empty $tmp arg!! ## Get and check the library name libname=$1
More information about the Rivet-svn mailing list |