|  | @@ -487,6 +487,7 @@ int cmCPackDebGenerator::PackageOnePack(std::string const& initialTopLevel,
 | 
	
		
			
				|  |  |      findExpr += "/*";
 | 
	
		
			
				|  |  |      gl.RecurseOn();
 | 
	
		
			
				|  |  |      gl.SetRecurseListDirs(true);
 | 
	
		
			
				|  |  | +    gl.SetRecurseThroughSymlinks(false);
 | 
	
		
			
				|  |  |      if (!gl.FindFiles(findExpr)) {
 | 
	
		
			
				|  |  |        cmCPackLogger(cmCPackLog::LOG_ERROR,
 | 
	
		
			
				|  |  |                      "Cannot find any files in the installed directory"
 | 
	
	
		
			
				|  | @@ -511,6 +512,7 @@ int cmCPackDebGenerator::PackageOnePack(std::string const& initialTopLevel,
 | 
	
		
			
				|  |  |      findExpr += "/*";
 | 
	
		
			
				|  |  |      gl.RecurseOn();
 | 
	
		
			
				|  |  |      gl.SetRecurseListDirs(true);
 | 
	
		
			
				|  |  | +    gl.SetRecurseThroughSymlinks(false);
 | 
	
		
			
				|  |  |      if (!gl.FindFiles(findExpr)) {
 | 
	
		
			
				|  |  |        cmCPackLogger(cmCPackLog::LOG_ERROR,
 | 
	
		
			
				|  |  |                      "Cannot find any files in the installed directory"
 | 
	
	
		
			
				|  | @@ -630,6 +632,7 @@ int cmCPackDebGenerator::PackageComponentsAllInOne(
 | 
	
		
			
				|  |  |    findExpr += "/*";
 | 
	
		
			
				|  |  |    gl.RecurseOn();
 | 
	
		
			
				|  |  |    gl.SetRecurseListDirs(true);
 | 
	
		
			
				|  |  | +  gl.SetRecurseThroughSymlinks(false);
 | 
	
		
			
				|  |  |    if (!gl.FindFiles(findExpr)) {
 | 
	
		
			
				|  |  |      cmCPackLogger(cmCPackLog::LOG_ERROR,
 | 
	
		
			
				|  |  |                    "Cannot find any files in the installed directory"
 |