mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-30 18:47:06 +00:00
34939cad39
SVN-Revision: 15242
17 lines
330 B
Perl
Executable File
17 lines
330 B
Perl
Executable File
#!/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";
|