avoid wrapping symlinks
This commit is contained in:
parent
0a74404c97
commit
4d75c3d48e
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ wrap () {
|
|||
# location to toolchain as installed by ghc-android
|
||||
androidtoolchain="$HOME/.ghc/$(cat $top/abiversion)/bin"
|
||||
|
||||
for f in $(find "$androidtoolchain" -maxdepth 1 -not -type d -printf '%f\n' | grep -v \.orig); do
|
||||
for f in $(find "$androidtoolchain" -maxdepth 1 -type f -printf '%f\n' | grep -v \.orig); do
|
||||
bin="$androidtoolchain/$f"
|
||||
orig="$androidtoolchain/$f.orig"
|
||||
if [ ! -e "$orig" ]; then
|
||||
|
|
Loading…
Reference in a new issue