summaryrefslogtreecommitdiffstats
path: root/ports-mgmt/portupgrade-devel/files/patch-bin-portsclean
blob: 863516982d3048094437e08c6f98df1a2f575c32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- bin/portsclean.orig	Mon Jun 19 11:21:30 2006
+++ bin/portsclean	Mon Jun 19 11:27:10 2006
@@ -218,6 +218,9 @@
 
 def distclean(level)
   return if level <= 0
+  
+  level = 1 if level == 2
+  level = 2 if level > 2
 
   puts "Detecting unreferenced distfiles..."
 
OpenPOWER on IntegriCloud