Skip to content

Commit

Permalink
Update chromium.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent daaed9d commit ad49260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromium.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi
extra_options=

if [ "executable_path" = "/bin" ] || [ "executable_path" = "/usr/bin" ] || [ "executable_path" = "/usr/local/bin" ]; then
find /usr -name "chrom*.pak" |grep -e "chrom.*chrom" -m 1
executable_path=`find /usr -name "chrom*.pak" 2>/dev/null|grep -e "chrom.*chrom" -m 1 |xargs dirname`
fi

if [ "$1" = "yongbin" ]; then
Expand Down

0 comments on commit ad49260

Please sign in to comment.