Skip to content

Commit

Permalink
swtpm-setup: fix invalid path
Browse files Browse the repository at this point in the history
Make sure there is a '/' after DATAROOTDIR.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
  • Loading branch information
elmarco authored and stefanberger committed Dec 16, 2024
1 parent c5c4af9 commit 544b398
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/swtpm_setup/profile.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "swtpm_setup_utils.h"
#include "compiler_dependencies.h"

#define DISTRO_PROFILES_DIR DATAROOTDIR "swtpm/profiles"
#define DISTRO_PROFILES_DIR DATAROOTDIR "/swtpm/profiles"


/* Return the names of the supported profiles */
Expand Down

0 comments on commit 544b398

Please sign in to comment.