Skip to content

Commit

Permalink
Copy for real, don't just echo
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Aug 16, 2020
1 parent eed315d commit 03d7a59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/build-lambda-grader-in-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ mkdir -p lib
NEEDED_LIBS=$(find node_modules -name '*.node' -not -path '*/obj.target/*' -print0 | xargs -0 ldd | grep -oP '^\s+\S+\s=>\s\K/(usr/)?lib\S+')
for lib in $NEEDED_LIBS; do
if ! grep "$(basename "$lib")" "$SCRIPT_DIR/lambda-env-libs" > /dev/null; then
echo cp "$lib" lib
cp "$lib" lib
fi
done

Expand Down
2 changes: 1 addition & 1 deletion scripts/build-lambda-xvfb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ find -name '*.so' -type f -print0 | xargs -0 strip
mkdir -p lib
for lib in $(ldd bin/Xvfb | grep -oP '^\s+\S+\s=>\s\K/(usr/)?lib\S+'); do
if ! grep "$(basename "$lib")" "$SCRIPT_DIR/lambda-env-libs" > /dev/null; then
echo cp "$lib" lib
cp "$lib" lib
fi
done

Expand Down

0 comments on commit 03d7a59

Please sign in to comment.