You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
333 B
18 lines
333 B
![]()
17 years ago
|
#!/usr/bin/perl
|
||
|
#
|
||
|
# Copyright (C) 2007 OpenWrt.org
|
||
|
#
|
||
|
# This is free software, licensed under the GNU General Public License v2.
|
||
|
# See /LICENSE for more information.
|
||
|
#
|
||
|
# $Id$
|
||
|
|
||
|
use strict;
|
||
|
require File::Spec;
|
||
|
|
||
|
my $source = shift @ARGV;
|
||
|
my $target = shift @ARGV;
|
||
|
my $result = File::Spec->abs2rel($source, $target);
|
||
|
|
||
|
print "$result\n";
|