Skip to content

Commit

Permalink
fix script can't play file names with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Jun 10, 2015
1 parent 6c7dbb6 commit 0819029
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
D=`readlink -f $0`
D=${D%/*}
export LD_LIBRARY_PATH=$D:$D/lib
$D/QMLPlayer $@
$D/QMLPlayer "$@" # name with spaces
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
D=`readlink -f $0`
D=${D%/*}
export LD_LIBRARY_PATH=$D:$D/lib
$D/player $@
$D/player "$@" # name with spaces

0 comments on commit 0819029

Please sign in to comment.