Skip to content

Commit fd8344b

Browse files
daniviganyalldawson
authored andcommitted
More fixes for rpm/buildrpms.sh
1 parent f6ada69 commit fd8344b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rpm/buildrpms.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -175,11 +175,11 @@ do :
175175
--define "_timestamp $timestamp" \
176176
--resultdir=$OUTDIR/$arch $mock_args
177177
then
178-
# Add to package list
179-
packages="$packages $(ls $OUTDIR/$arch/*-$version-$relver.*.rpm)"
180-
else
181178
print_error "Package creation for $arch failed. Abort"
182179
exit 1
180+
else
181+
# Add to package list
182+
packages="$packages $(ls $OUTDIR/$arch/*-$version-$relver.*.rpm)"
183183
fi
184184
done
185185

0 commit comments

Comments
 (0)