Closed olliejm closed 7 years ago
Hi, essentially there are 2 issues :
To fix the readlink issue you have to install greadlink via brew (brew install coreutils
. Give a look here if you don't have Homebrew installed: https://brew.sh/index_it.html) and then replace "readlink" with "greadlink" in every haystack script. Alternatively you can run alias readlink=greadlink
.
Now the cp issue: AFAIK macos' cp doesn't have the -t parameter. To fix this you have to replace cp -t "$patched_filterset_dir" "$fileset_dir"/*.{jar,apk}
with cp $fileset_dir"/*.{jar,apk} $patched_filterset_dir
in the patch-fileset script.
I'm not a mac user but this should do the job. Cheers!
thanks for the report. i don't support proprietary tools or OSes. you are on your own here, sorry for letting you down.
I'm trying to patch the pulled fileset on macOS, but I'm getting the following error:
It seems like readlink is deprecated on macOS or something, how should I proceed?