access_mode should be blacklist by default
This commit is contained in:
parent
6460b1c312
commit
f13a29f960
|
@ -1,7 +1,6 @@
|
|||
# make.sh config
|
||||
PREFIX=${PREFIX:-/}
|
||||
USR=${USR:-"${PREFIX}usr/local"}
|
||||
|
||||
BINDIR=${BINDIR:-"${DESTDIR}${USR}/bin"}
|
||||
LOGDIR=${LOGDIR:-"/tmp/userrc"}
|
||||
CONFIG=${CONFIG:-"/etc/userrc.conf"}
|
||||
|
||||
BINDIR=${BINDIR:-"${PREFIX}/bin"}
|
||||
CONFDIR=${CONFDIR:-"${PREFIX}/etc"}
|
||||
CONFIG=${CONFIG:-"${CONFDIR}/userrc.conf"}
|
||||
|
|
13
make.sh
13
make.sh
|
@ -5,9 +5,12 @@ set -e
|
|||
set_vars() {
|
||||
printf 'Setting vars...\n' >&2
|
||||
|
||||
sed -r \
|
||||
-e "s%@CONFIG@%${CONFIG}%" \
|
||||
-e "s%@LOGDIR@%${LOGDIR}%"
|
||||
for i in "$@"; do
|
||||
sed -r \
|
||||
-e "s%@CONFIG@%${CONFIG}%" \
|
||||
-e "s%@LOGDIR@%${LOGDIR}%" \
|
||||
< "$i".in > "$i"
|
||||
done
|
||||
}
|
||||
|
||||
do_tell() {
|
||||
|
@ -20,9 +23,9 @@ target_userrc() {
|
|||
target='userrc'
|
||||
|
||||
printf '%s\n' "Building $target..."
|
||||
set_vars < "$target".in > "$target"
|
||||
|
||||
set_vars "$target"
|
||||
do_tell chmod 755 "$target"
|
||||
ls -l "$target"
|
||||
}
|
||||
|
||||
target_clean() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user