Skip to content

Commit 1ef1eac

Browse files
committed
SystemSan: repair node-shell-quote-v1.7.3
1 parent fd7c5f2 commit 1ef1eac

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

infra/experimental/SystemSan/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pytorch-lightning-1.5.10:
3636
docker run -it systemsan_pytorch-lightning:latest;
3737

3838
node-shell-quote-v1.7.3:
39-
cp SystemSan.cpp PoEs/node-shell-quote-v1.7.3/; \
39+
cp SystemSan.cpp inspect_*.* PoEs/node-shell-quote-v1.7.3/; \
4040
cd PoEs/node-shell-quote-v1.7.3/; \
4141
docker build . --tag systemsan_node-shell-quote; \
4242
docker run -t systemsan_node-shell-quote:latest;

infra/experimental/SystemSan/PoEs/node-shell-quote-v1.7.3/Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ RUN apt update && \
2121
vim \
2222
npm && \
2323
git clone \
24-
--depth 1 \
25-
https://github.com/substack/node-shell-quote.git && \
24+
https://github.com/ljharb/node-shell-quote.git && \
25+
cd node-shell-quote && \
26+
# v1.7.3 is not tagged anymore
27+
git reset --hard 6a8a899c62a58a30fb128a7079f02826ed4faee0 && \
2628
npm config set @gitlab-org:registry \
2729
https://gitlab.com/api/v4/packages/npm/
2830

infra/experimental/SystemSan/PoEs/node-shell-quote-v1.7.3/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
CXX = clang++
33
CFLAGS = -std=c++17 -Wall -Wextra -O3 -g3
44

5-
SystemSan: SystemSan.cpp
5+
SystemSan: SystemSan.cpp inspect_dns.cpp inspect_utils.cpp
66
$(CXX) $(CFLAGS) -lpthread -o $@ $^
77

88
run: clean SystemSan target.js

0 commit comments

Comments
 (0)