Skip to content

Commit

Permalink
Copy metadata files for RedHat artifacts without the '-r' flag.
Browse files Browse the repository at this point in the history
According to the man page for 'cp':
Historic versions of the cp utility had a -r option.  This implementation supports that option; however, its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.
  • Loading branch information
dlbock committed Nov 20, 2020
1 parent 2c7fd36 commit 1f7af85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olm/create-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ done

if [ $MANIFEST_NAME = "redhat" ]; then
mkdir -p $BUNDLE_DIR/metadata
cp -r ${SCRIPTPATH}/metadata/ $BUNDLE_DIR/metadata
cp ${SCRIPTPATH}/metadata/* $BUNDLE_DIR/metadata
fi

pushd ${BUNDLE_DIR}
Expand Down

0 comments on commit 1f7af85

Please sign in to comment.