Skip to content
Browse files

Need full path of B2G_HOME to avoid Emulator black screen.

  • Loading branch information...
1 parent ead93ec commit 4989073363a295f57c5d193f40f568f2ac7c4256 @shianyow shianyow committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 run-emulator.sh
View
3 run-emulator.sh
@@ -1,6 +1,7 @@
#!/bin/bash
-B2G_HOME=$(dirname $BASH_SOURCE)
+# Get full path from where the script was executed, full path is needed to run emulator succesfully
+B2G_HOME=$(cd $(dirname $BASH_SOURCE); pwd)
. $B2G_HOME/load-config.sh

0 comments on commit 4989073

Please sign in to comment.
Something went wrong with that request. Please try again.