We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0afb108 commit 0de8f43Copy full SHA for 0de8f43
2 files changed
configure.ac
@@ -14,7 +14,7 @@ AC_PROG_CXX
14
AC_PROG_RANLIB
15
AM_PROG_AR
16
AC_CONFIG_COMMANDS([config.yml],
17
- [./parse_config.sh > src/calls.h])
+ [python3 parse_config.py > src/calls.h])
18
AC_CONFIG_HEADERS([config.h])
19
AC_CONFIG_FILES([
20
Makefile
parse_config.sh parse_config.pyparse_config.sh renamed to parse_config.py
@@ -1,14 +1,9 @@
1
-#!/bin/sh
2
-# parse_config.h
+# parse_config.py
3
# author: axtlos / axtloss <axtlos@disroot.org>
4
# SPDX-LICENSE: GPL-3.0-ONLY
5
6
# Converts a yaml syscall-intercept configuration to a
7
# header file to be used by syscall-intercept
8
-script=`cat $0 | tail -n +12`
9
-python -c "$script"
10
-exit
11
-# PYTHON:
12
import yaml
13
0 commit comments