mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Don't pipe the list of binaries through uniq.
It seems to be overflowing a buffer and truncating output with Python 3, plus it's being fed a single line only so isn't actually doing anything.
This commit is contained in:
@@ -33,7 +33,7 @@ function CompleteSingleApp() {
|
||||
pushd "$bundle" > /dev/null
|
||||
|
||||
#We skip nested apps here - those are treated specially
|
||||
todo=$(file `find ./ -perm +0111 ! -type d ! -path "*.app/*" ! -name "*.app"` | grep -E "Mach-O 64-bit" | awk -F ':| ' '{ORS=" "; print $1}' | uniq)
|
||||
todo=$(file `find ./ -perm +0111 ! -type d ! -path "*.app/*" ! -name "*.app"` | grep -E "Mach-O 64-bit" | awk -F ':| ' '{ORS=" "; print $1}')
|
||||
|
||||
echo "App: $tag: Found executables: $todo"
|
||||
while test "$todo" != ""; do
|
||||
|
||||
Reference in New Issue
Block a user