Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Modify the appbundle executable search to ignore extra text found in …
Browse files Browse the repository at this point in the history
…Universal binaries, and to report each binary only once no matter how many architectures are supported.

git-svn-id: svn://svn.pgadmin.org/trunk@5318 a7884b65-44f6-0310-8a51-81a127f17b15
  • Loading branch information
dpage committed Sep 1, 2006
1 parent 6dbcfc5 commit 4f87171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mac/complete-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ echo "Completing bundle: $bundle"

cd "$bundle"

todo=$(file `find ./ -perm +0111 ! -type d` | grep "Mach-O executable" | awk -F: '{printf "%s ",$1;next} {print}')
todo=$(file `find ./ -perm +0111 ! -type d` | grep "Mach-O executable" | awk -F: -F\ '{print $1}' | uniq)

echo "Found executables: $todo"

Expand Down

0 comments on commit 4f87171

Please sign in to comment.