aboutsummaryrefslogtreecommitdiff
path: root/Makefile.pl
diff options
context:
space:
mode:
authorAndrey Ponomarenko <aponomarenko@rosalab.ru>2012-11-30 16:36:44 +0400
committerAndrey Ponomarenko <aponomarenko@rosalab.ru>2012-11-30 16:36:44 +0400
commit570ece5f82489943ef2cc5f69013eeef5f0b87ff (patch)
treed42950bc51bc8aa70d44b4acb6f8969ca2c7f198 /Makefile.pl
parent57a405d1e779b8b4abd15b01a111b74960b0b265 (diff)
downloadabi-compliance-checker-570ece5f82489943ef2cc5f69013eeef5f0b87ff.tar.gz
ABI Compliance Checker 1.98.5
Diffstat (limited to 'Makefile.pl')
-rwxr-xr-xMakefile.pl8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile.pl b/Makefile.pl
index a1db96d..af418d8 100755
--- a/Makefile.pl
+++ b/Makefile.pl
@@ -173,9 +173,11 @@ sub scenario()
print "-- Removing $EXE_PATH/$TOOL_SNAME\n";
unlink($EXE_PATH."/".$TOOL_SNAME);
- # remove modules
- print "-- Removing $MODULES_PATH\n";
- rmtree($MODULES_PATH);
+ if(-d $MODULES_PATH)
+ { # remove modules
+ print "-- Removing $MODULES_PATH\n";
+ rmtree($MODULES_PATH);
+ }
}
if($Install or $Update)
{