mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-18 14:47:46 +01:00
b518cc2c00
SVN-Revision: 8570
18 lines
333 B
Perl
Executable File
18 lines
333 B
Perl
Executable File
#!/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";
|