Skip to content

Commit 3d0d662

Browse files
c4rt0dustymabe
authored andcommitted
coreos-assembler/src/cmdlib: rearrange option sequence
Rearrange location of '-maxdepth' option to avoid 'find' warning See: #3199
1 parent cfa0a43 commit 3d0d662

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cmdlib.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ EOF
395395
# Because right now rpm-ostree doesn't look for .repo files in
396396
# each included dir.
397397
# https://github.com/projectatomic/rpm-ostree/issues/1628
398-
find "${configdir}/" -name '*.repo' -maxdepth 1 -type f -exec cp -t "${tmp_overridesdir}" {} +
398+
find "${configdir}/" -maxdepth 1 -type f -name '*.repo' -exec cp -t "${tmp_overridesdir}" {} +
399399
if [ -d "${workdir}/src/yumrepos" ]; then
400400
find "${workdir}/src/yumrepos/" -maxdepth 1 -type f -name '*.repo' -exec cp -t "${tmp_overridesdir}" {} +
401401
fi

0 commit comments

Comments
 (0)