#!/usr/bin/env perl
# 
# Copyright (C) 2007 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#

use strict;
require File::Spec;

my $source = shift @ARGV;
my $target = shift @ARGV;
my $result = File::Spec->abs2rel($source, $target);

print "$result\n";
.03.3' type='application/atom+xml'/>
<link rel='vcs-git' href='git://git.panaceas.org/openwrt/upstream' title='openwrt/upstream Git repository'/>
<link rel='vcs-git' href='ssh://git@git.panaceas.org/git/openwrt/upstream' title='openwrt/upstream Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a title='openwrt/upstream' href='/cgit.cgi/openwrt/upstream/'>openwrt/upstream</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='479cf96993cb70f8c69ba590238e27a56dc7091d'/><select name='h' onchange='this.form.submit();'>
<option value='attitude_adjustment'>attitude_adjustment</option>
<option value='barrier_breaker'>barrier_breaker</option>
<option value='chaos_calmer'>chaos_calmer</option>
<option value='lede-17.01'>lede-17.01</option>
<option value='less-old-master'>less-old-master</option>
<option value='master'>master</option>
<option value='old-master'>old-master</option>
<option value='openwrt-18.06'>openwrt-18.06</option>
<option value='openwrt-19.07'>openwrt-19.07</option>
<option value='upstream'>upstream</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>upstream openwrt</td><td class='sub right'>James</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/openwrt/upstream/about/?h=v22.03.3'>about</a><a href='/cgit.cgi/openwrt/upstream/?h=v22.03.3'>summary</a><a href='/cgit.cgi/openwrt/upstream/refs/?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>refs</a><a href='/cgit.cgi/openwrt/upstream/log/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3'>log</a><a class='active' href='/cgit.cgi/openwrt/upstream/tree/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>tree</a><a href='/cgit.cgi/openwrt/upstream/commit/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>commit</a><a href='/cgit.cgi/openwrt/upstream/diff/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>diff</a><a href='/cgit.cgi/openwrt/upstream/stats/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3'>stats</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/openwrt/upstream/log/package/madwifi/patches/123-ccmp_checks.patch'>
<input type='hidden' name='h' value='v22.03.3'/><input type='hidden' name='id' value='479cf96993cb70f8c69ba590238e27a56dc7091d'/><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/openwrt/upstream/tree/?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>root</a>/<a href='/cgit.cgi/openwrt/upstream/tree/package?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>package</a>/<a href='/cgit.cgi/openwrt/upstream/tree/package/madwifi?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>madwifi</a>/<a href='/cgit.cgi/openwrt/upstream/tree/package/madwifi/patches?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>patches</a>/<a href='/cgit.cgi/openwrt/upstream/tree/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>123-ccmp_checks.patch</a></div><div class='content'>blob: f5bd34eecdbf30a09368d6cfb6da6d3a8eec09a1 (<a href='/cgit.cgi/openwrt/upstream/plain/package/madwifi/patches/123-ccmp_checks.patch?h=v22.03.3&amp;id=479cf96993cb70f8c69ba590238e27a56dc7091d'>plain</a>)
<table summary='blob content' class='blob'>
<tr><td class='linenumbers'><pre><a id='n1' href='#n1'>1</a>
<a id='n2' href='#n2'>2</a>
<a id='n3' href='#n3'>3</a>
<a id='n4' href='#n4'>4</a>
<a id='n5' href='#n5'>5</a>
<a id='n6' href='#n6'>6</a>
<a id='n7' href='#n7'>7</a>
<a id='n8' href='#n8'>8</a>
<a id='n9' href='#n9'>9</a>
<a id='n10' href='#n10'>10</a>
<a id='n11' href='#n11'>11</a>
<a id='n12' href='#n12'>12</a>
<a id='n13' href='#n13'>13</a>
<a id='n14' href='#n14'>14</a>
<a id='n15' href='#n15'>15</a>
<a id='n16' href='#n16'>16</a>
<a id='n17' href='#n17'>17</a>
<a id='n18' href='#n18'>18</a>
<a id='n19' href='#n19'>19</a>
<a id='n20' href='#n20'>20</a>
<a id='n21' href='#n21'>21</a>
<a id='n22' href='#n22'>22</a>
<a id='n23' href='#n23'>23</a>
<a id='n24' href='#n24'>24</a>
</pre></td>
<td class='lines'><pre><code>