We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a52718e + 218e271 commit a46205aCopy full SHA for a46205a
1 file changed
build-scripts/package
@@ -219,14 +219,7 @@ rpm | lpp)
219
220
# Link all packaging files (except spec files) to SOURCES directory
221
log_debug "Linking packaging files to SOURCES directory"
222
- # shellcheck disable=SC2044
223
- # TODO: CFE-4584
224
- for i in $(find "$BASEDIR/buildscripts/packaging/$PKG" ! -name "*.spec"); do
225
- (
226
- cd "$BASEDIR/$PKG/SOURCES"
227
- ln -sf "$i" .
228
- ) || false
229
- done
+ find "$BASEDIR/buildscripts/packaging/$PKG" ! -name "*.spec" -exec ln -sf {} "$BASEDIR/$PKG/SOURCES" \;
230
231
# Build the RPM package using rpmbuild
232
# eval is needed to preserve spaces in arguments within quotes
0 commit comments