fix a rare wds related noderef issue
[openwrt/crisos.git] / scripts / abs2rel.pl
blobdd35211d978b84406989dce6745ece2e6b25a931
1 #!/usr/bin/env perl
2 #
3 # Copyright (C) 2007 OpenWrt.org
5 # This is free software, licensed under the GNU General Public License v2.
6 # See /LICENSE for more information.
8 # $Id$
10 use strict;
11 require File::Spec;
13 my $source = shift @ARGV;
14 my $target = shift @ARGV;
15 my $result = File::Spec->abs2rel($source, $target);
17 print "$result\n";