Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle piping commands properly #299

Merged
merged 8 commits into from
Dec 11, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update shallow_backup/reinstall.py
  • Loading branch information
alichtman authored Dec 26, 2020
commit 72ecf0ef157e7900227bd5c63f6c3a39ee193863
2 changes: 1 addition & 1 deletion shallow_backup/reinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def run_cmd_if_no_dry_run(command, dry_run) -> int:
print_red_bold("WARNING: Macports reinstallation is not supported.")
elif pm == "gem":
print_pkg_mgr_reinstall(pm)
cmd = f"cat {packages_path}/gem_list.txt | xargs -L 1 sudo gem install --no-ri --no-rdoc"
cmd = f"cat {packages_path}/gem_list.txt | xargs -L 1 gem install --no-ri --no-rdoc"
run_cmd_if_no_dry_run(cmd, dry_run)
elif pm == "cargo":
print_red_bold("WARNING: Cargo reinstallation is not possible at the moment.\
Expand Down