depot/third_party/nixpkgs/pkgs/by-name/re/revolver/no-external-call.patch
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

16 lines
391 B
Diff

Replace call to "revolver" with call to internal function.
Useful when "revolver" is not defined in PATH.
--- a/revolver
+++ b/revolver
@@ -255,9 +255,9 @@
###
function _revolver_demo() {
for style in "${(@k)_revolver_spinners[@]}"; do
- revolver --style $style start $style
+ _revolver --style $style start $style
sleep 2
- revolver stop
+ _revolver stop
done
}