Open gitmalong opened 1 year ago
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
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
cargo_dir_file=/PATH/TO/FILE