blob: 04747f07ac1d05cce9edb2469f562c69d4c38c7b [file] [log] [blame]
rjw6c1fd8f2022-11-30 14:33:01 +08001#!/usr/bin/perl
2#Change relative RELEASE_DIR path to absolute RELEASE_DIR path in info_custom_release.log.
3
4system "dir $ARGV[0] |find \"Directory of\" > ~reldir.tmp";
5open (FH,"~reldir.tmp");
6while(<FH>){
7 if (index($_,"Directory") >= 0) {
8 $_ =~ /Directory of (.+)/;
9 print "RELEASE_DIR = $1\n";
10 }
11}
12close (FH);
13system "del ~reldir.tmp";