1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-02 20:31:07 +03:00
openwrt-xburst/scripts/abs2rel.pl
nbd 59108c0617 use #!/usr/bin/env perl instead of #!/usr/bin/perl in openwrt scripts (fixes #2998)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-09-23 18:29:44 +00:00

18 lines
337 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.
#
# $Id$
use strict;
require File::Spec;
my $source = shift @ARGV;
my $target = shift @ARGV;
my $result = File::Spec->abs2rel($source, $target);
print "$result\n";