actually set the vars ok

This commit is contained in:
2015-08-17 13:36:49 +03:00
parent f2c19a6996
commit 6ef5f62d75
3 changed files with 11 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ set_vars() {
sed -r \
-e "s%@CONFIG@%${CONFIG}%" \
-r "s%@LOGDIR@%${LOGDIR}%"
-e "s%@LOGDIR@%${LOGDIR}%"
}
do_tell() {
@@ -17,7 +17,7 @@ do_tell() {
# Targets
target_userrc() {
declare target='userrc'
target='userrc'
printf '%s\n' "Building $target..."
set_vars < "$target".in > "$target"