From 52187306ce6da2f79ba6284514d55934391e4a6d Mon Sep 17 00:00:00 2001 From: Dave Page Date: Mon, 18 May 2020 15:37:18 +0100 Subject: [PATCH] Create the dist/ directory if needed. --- pkg/redhat/repo-rpm.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/redhat/repo-rpm.sh b/pkg/redhat/repo-rpm.sh index 781222cf7..3dfda1f78 100755 --- a/pkg/redhat/repo-rpm.sh +++ b/pkg/redhat/repo-rpm.sh @@ -108,4 +108,5 @@ _create_repo_rpm fedora # # Get the results! # +test -d "${DISTROOT}/" || mkdir -p "${DISTROOT}/" cp ${HOME}/rpmbuild/RPMS/noarch/${APP_NAME}-*-repo-${REPO_RPM_VERSION}-${REPO_RPM_BUILD}.noarch.rpm "${DISTROOT}/" \ No newline at end of file