1234567891011121314151617181920212223242526272829303132333435 |
- #!/bin/sh
- # Part of Zombie Navigator
- # Copyright © 2015 Zombie Navigator Developers
- cd "`dirname "$0"`"
- dir='.demo_tmp_home'
- mkdir -p "$dir" && cd "$dir"
- cat <<EOF > .profile
- title='zombie@mozilla:~'
- PS1="\$title\$ "
- printf '\033]2;%s\007' "\$title"
- reset
- export PATH="\$OLDPATH"
- unset OLDPATH
- #export USER="zombie"
- echo "\${PS1}ZOMBIE_NAVIGATOR_DEMO=simple xvfb-run -a firefox"
- ZOMBIE_NAVIGATOR_DEMO=simple ../headless-run.sh 2>/dev/null | grep --line-buffered 'zombie-navigator' | egrep -v 'JPM|XPI'
- EOF
- env -i HOME="`pwd`" TERM="$TERM" OLDPATH="$PATH" sh -l
- cd ..
- rm -frv "$dir"
- # vim: ts=4 noet ai
|