aboutsummaryrefslogtreecommitdiffci
path: root/build.sh
diff refs
from: back
to: back
| flip
diff options
context:
space:
mode:
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/build.sh b/build.sh
index 88b1ca8..7e32f3b 100755
--- a/build.sh
+++ b/build.sh
@@ -44,7 +44,7 @@ done
topdir="${work_dir}/rpmbuild"
spec="${topdir}/SPECS/libcamera.spec"
-if [[ ! -f ${spec} ]]; then {
+if [[ ! -f ${spec} ]]; then
rm -rf "${work_dir}"
mkdir -p "${work_dir}" "${topdir}"/{BUILD,BUILDROOT,RPMS,SOURCES,SPECS,SRPMS}
@@ -79,7 +79,6 @@ if [[ ! -f ${spec} ]]; then {
echo "failed to add the .${suffix} release suffix to ${spec}" >&2
exit 1
}
-} >&2
fi
mapfile -t rpm_files < <(rpmspec -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}.rpm\n' "${spec}")