comparison deploy/linux/deploy-appimage.sh @ 1889:d8dfd30d6d41 appimage

Debug output
author Chris Cannam
date Wed, 27 Jun 2018 16:23:16 +0100
parents f8f3fa1b1286
children fb9a63059d25
comparison
equal deleted inserted replaced
1888:f8f3fa1b1286 1889:d8dfd30d6d41
20 mkdir -p "$targetdir"/usr/bin 20 mkdir -p "$targetdir"/usr/bin
21 mkdir -p "$targetdir"/usr/lib 21 mkdir -p "$targetdir"/usr/lib
22 22
23 cp "$program" "$checker" "$piper" "$targetdir"/usr/bin/ 23 cp "$program" "$checker" "$piper" "$targetdir"/usr/bin/
24 24
25 ldd /usr/lib/x86_64-linux-gnu/libpulse.so.0 || true
26
25 add_dependencies() { 27 add_dependencies() {
26 local binary="$1" 28 local binary="$1"
27 for lib in $(ldd "$binary" | grep '=> /usr/lib/' | sed 's/^.*=> //' | sed 's/ .*$//' | grep -v 'libc.so' | grep -v 'libm.so'); do 29 for lib in $(ldd "$binary" | grep '=> /usr/lib/' | sed 's/^.*=> //' | sed 's/ .*$//' | grep -v 'libc.so' | grep -v 'libm.so'); do
28 mkdir -p "$targetdir/$(dirname $lib)" 30 mkdir -p "$targetdir/$(dirname $lib)"
29 if [ ! -f "$targetdir/$lib" ]; then 31 if [ ! -f "$targetdir/$lib" ]; then