]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
raduat: Clusters should be the basename of the path not the entire path
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 31 Dec 2025 18:57:15 +0000 (18:57 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 1 Jan 2026 18:23:44 +0000 (18:23 +0000)
scripts/util/raduat

index 4605c739bab67049b12f504ca9347209c681aa09..0e52496cedbd816bda59d7e5d9f5c6c924d1788e 100755 (executable)
@@ -108,8 +108,8 @@ if [ ! -d "$TESTDIR" ]; then
 fi
 
 # Definitions (build these dynamically by looking at the files under tests)
-cluster_dirs=$(find "$TESTDIR/" -mindepth 1 -maxdepth 1 -type d)
 cluster_types=$(echo $cluster_dirs | sed 's/\s/ /g')
+cluster_dirs=$(find "$TESTDIR/" -mindepth 1 -maxdepth 1 -type d -exec basename {} \;)
 cluster_types=$(echo "$cluster_dirs" | sed 's/\s/ /g')
 
 role_types=