#!/bin/bash # -*- coding: utf-8 -*- # # nacl_path.sh -- NaCl path export script # # Copyright (C) 2009-2011 Emmanuel Roullit <emmanuel@netsniff-ng.org> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. nacl_include_path="$1" nacl_lib_path="$2" if test -z $nacl_include_path || test -z $nacl_lib_path; then echo "Please input the path where NaCl is like the following:" echo "./$0.sh <include_path> <lib_path>" exit 1 fi echo "export NACL_INC_DIR=$nacl_include_path" >> ~/.bashrc echo "export NACL_LIB_DIR=$nacl_lib_path" >> ~/.bashrc src='/cgit.png' alt='cgit logo'/></a></td> <td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'> <input type='hidden' name='id' value='4087a1fffe38106e10646606a27f10d40451862d'/><input type='hidden' name='showmsg' value='1'/><select name='h' onchange='this.form.submit();'> <option value='emaclite-cleanup'>emaclite-cleanup</option> <option value='master'>master</option> <option value='nds-private-remove' selected='selected'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/?h=nds-private-remove'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/net/iucv?h=nds-private-remove&showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/net/iucv?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/net/iucv?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/net/iucv?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/net/iucv'> <input type='hidden' name='h' value='nds-private-remove'/><input type='hidden' name='id' value='4087a1fffe38106e10646606a27f10d40451862d'/><input type='hidden' name='showmsg' value='1'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d&showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/net?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d&showmsg=1'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/net/iucv?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d&showmsg=1'>iucv</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/net/iucv?h=nds-private-remove&id=4087a1fffe38106e10646606a27f10d40451862d'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>