Skip to content

Commit

Permalink
Remove unnecessary cp flags
Browse files Browse the repository at this point in the history
Signed-off-by: Stepan Blyschak <[email protected]>
  • Loading branch information
Stepan Blyschak committed Aug 16, 2018
1 parent 2b46b6b commit 354b6ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-device-data/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $(addprefix $(DEST)/, $(MAIN_TARGET)): $(DEST)/% :
# Create a new dir and copy all ONIE-platform-string-named dirs into it
mkdir ./device
cp -r ../../../device/*/* ./device/
find ./device/ -type l -exec bash -c 'test -e {} && (original=$$(readlink -f {}) && rm -rf {} && cp -rf -L $$original {} ) ' \;
find ./device/ -type l -exec bash -c 'test -e {} && (original=$$(readlink -f {}) && rm -rf {} && cp -r $$original {} ) ' \;

# Build the package
dpkg-buildpackage -rfakeroot -b -us -uc
Expand Down

0 comments on commit 354b6ad

Please sign in to comment.