Skip to content

Commit 4c2721e

Browse files
committed
Silence the script
1 parent 179dc05 commit 4c2721e

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

pelican/build-cmark.sh

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,22 +43,24 @@ fi
4343
### somebody smart could peek into the .tgz. ... MEH
4444
if [ -d "$EXTRACTED_AS" ]; then rm -r "$EXTRACTED_AS"; fi
4545
tar xzf "$LOCAL"
46-
pushd "$EXTRACTED_AS"
46+
pushd "$EXTRACTED_AS" >/dev/null
4747
mkdir build
48-
pushd build
48+
pushd build >/dev/null
4949
cmake --version >&2
50-
cmake -DCMARK_TESTS=OFF -DCMARK_STATIC=OFF ..
51-
make
52-
popd
50+
{
51+
cmake -DCMARK_TESTS=OFF -DCMARK_STATIC=OFF ..
52+
make
53+
} > build.log
54+
popd >/dev/null
5355

5456
mkdir lib
5557
cp -Pp build/src/lib* lib/
5658
cp -Pp build/extensions/lib* lib/
57-
popd
59+
popd >/dev/null
5860

5961
# These files/dir may need a reference with LD_LIBRARY_PATH.
6062
# gfm.py wants this lib/ in LIBCMARKDIR.
61-
ls -laF "$EXTRACTED_AS/lib/"
63+
# ls -laF "$EXTRACTED_AS/lib/"
6264

6365
# Provide a handy line for copy/paste.
6466
echo "export LIBCMARKDIR='$(pwd)/$EXTRACTED_AS/lib'"

0 commit comments

Comments
 (0)