Files
Sylve/scripts/utils/fs.sh
T

8 lines
126 B
Bash

#!/bin/sh
require_dir() {
if [ ! -d "$1" ]; then
error "Required directory not found: $1"
exit 1
fi
}