mirror of
				https://github.com/kevinveenbirkenbach/docker-volume-backup-cleanup.git
				synced 2025-11-04 12:18:27 +00:00 
			
		
		
		
	changed path
This commit is contained in:
		@@ -18,9 +18,9 @@ for SUBDIR in "$MAIN_DIRECTORY"/*; do
 | 
				
			|||||||
    # Only proceed if it is a directory
 | 
					    # Only proceed if it is a directory
 | 
				
			||||||
    if [ -d "$SUBDIR" ]; then
 | 
					    if [ -d "$SUBDIR" ]; then
 | 
				
			||||||
        echo "Validating directory: $SUBDIR"
 | 
					        echo "Validating directory: $SUBDIR"
 | 
				
			||||||
 | 
					        scripts_directory="$(dirname "$(dirname "$(realpath "$0")")")"
 | 
				
			||||||
        # Call the Python script for validation
 | 
					        # Call the Python script for validation
 | 
				
			||||||
        python ../directory-validator/directory-validator.py "$SUBDIR" --validate
 | 
					        python $scripts_directory/directory-validator/directory-validator.py "$SUBDIR" --validate
 | 
				
			||||||
        VALIDATION_STATUS=$?
 | 
					        VALIDATION_STATUS=$?
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if [ $VALIDATION_STATUS -eq 0 ]; then
 | 
					        if [ $VALIDATION_STATUS -eq 0 ]; then
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user