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

On Mac OS: lockbud/cargo_dir.txt: No such file or directory #43

Open
gitmalong opened this issue Dec 30, 2022 · 1 comment
Open

On Mac OS: lockbud/cargo_dir.txt: No such file or directory #43

gitmalong opened this issue Dec 30, 2022 · 1 comment

Comments

@gitmalong
Copy link

lockbud % ./detect.sh toys/conflict-inter
    Finished dev [unoptimized + debuginfo] target(s) in 0.06s
realpath: /Users/user/Documents/Code/lockbud/cargo_dir.txt: No such file or directory
usage: touch [-A [-][[hh]mm]SS] [-achm] [-r file] [-t [[CC]YY]MMDDhhmm[.SS]]
       [-d YYYY-MM-DDThh:mm:SS[.frac][tz]] file ...
./detect.sh: line 41: $cargo_dir_file: ambiguous redirect
./detect.sh: line 44: ${cargo_dir_file}: ambiguous redirect
@BurtonQin
Copy link
Owner

I do not have a MacOS env for now. The script is meant for Ubuntu. You may create an empty cargo_dir.xt manually and specify the absolute path to it on L32: cargo_dir_file=/PATH/TO/FILE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants