wok rev 20294

get-dropbox: fix LD_LIBRARY_PATH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 23 09:42:28 2018 +0200 (2018-04-23)
parents 47760196a868
children aa358e4ebf18
files get-dropbox/stuff/get-dropbox
line diff
     1.1 --- a/get-dropbox/stuff/get-dropbox	Fri Apr 20 20:13:12 2018 +0200
     1.2 +++ b/get-dropbox/stuff/get-dropbox	Mon Apr 23 09:42:28 2018 +0200
     1.3 @@ -53,8 +53,8 @@
     1.4  # Custom Dropboxd
     1.5  cat > $PACKAGE-$VERSION/fs/usr/lib/dropbox/dropboxd << "EOT"
     1.6  #!/bin/sh
     1.7 -PAR=/usr/lib/dropbox/$(cd $PACKAGE-$VERSION/fs/usr/lib/dropbox; ls dropbox-lnx*)
     1.8 -LD_LIBRARY_PATH=\$PAR:\$LD_LIBRARY_PATH exec \$PAR/dropboxd $@
     1.9 +PAR=$(ls -d /usr/lib/dropbox/dropbox-lnx*)
    1.10 +LD_LIBRARY_PATH=$PAR:$LD_LIBRARY_PATH exec $PAR/dropboxd $@
    1.11  EOT
    1.12  
    1.13  # Desktop file