~kaction/config

ref: 42707d29c994c30956608b9c9f10cbaf1d00add4 config/system-v2/nix-sys/install.sh.do -rw-r--r-- 176 bytes
42707d29 — Dmitry Bogatov nix-sys: generate build system inside of build system 8 months ago
                                                                                
1
2
3
4
5
6
7
#!/bin/sh
redo-ifchange conf/out conf/cdb install.in
out=$(cat conf/out)
cdb=$(cat conf/cdb)

sed -e "s#@out@#${out}#g" -e "s#@cdb@#${cdb}#g" < install.in > "$3"
chmod +x "$3"