lockbud icon indicating copy to clipboard operation
lockbud copied to clipboard

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

Open gitmalong opened this issue 3 years ago • 1 comments

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

gitmalong avatar Dec 30 '22 09:12 gitmalong

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

Chain-Fox avatar Jan 06 '23 01:01 Chain-Fox