diff options
author | Hieu Hoang <fishandfrolick@gmail.com> | 2012-02-16 07:28:09 +0400 |
---|---|---|
committer | Hieu Hoang <fishandfrolick@gmail.com> | 2012-02-16 07:28:09 +0400 |
commit | 7073f7d89168dc14112a6fd7a34cda9efd5fd6b3 (patch) | |
tree | 49c456cc30b6f95728470598fd8c2b62817e4cfe /scripts/generic | |
parent | 7f6f8a99f99944fc82b9be21becaf09a62c3add3 (diff) |
bug fix by Guchun Zhang
Diffstat (limited to 'scripts/generic')
-rwxr-xr-x | scripts/generic/extract-parallel.perl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/generic/extract-parallel.perl b/scripts/generic/extract-parallel.perl index e44d9372d..b4df119a7 100755 --- a/scripts/generic/extract-parallel.perl +++ b/scripts/generic/extract-parallel.perl @@ -112,7 +112,9 @@ else rename "$TMPDIR/extract.0", "$extract"; rename "$TMPDIR/extract.0.inv", "$extract.inv"; - if (-e "$TMPDIR/extract.0.o") + + my $numStr = NumStr(0); + if (-e "$TMPDIR/extract.$numStr.o") { rename "$TMPDIR/extract.0.o", "$extract.o"; } |