Possible brokeness fixed in scripts and moon.
parent
711e92c22d
commit
b449ce07a3
|
@ -10,11 +10,11 @@ function moon.build {
|
|||
|
||||
if [[ -n "${sources[$target]}" ]]; then
|
||||
S="${sources[$target]}"
|
||||
else
|
||||
elif [[ -e "${target%.lua}.moon" ]]; then
|
||||
S="${target%.lua}.moon"
|
||||
fi
|
||||
|
||||
if [[ -e "${S%% *}" ]]; then
|
||||
if [[ -n "${S}" ]]; then
|
||||
write " ${S}"
|
||||
write "\t@echo '$(MOON "${target}")'"
|
||||
# write "\t@echo '$(SED "${basename}")'"
|
||||
|
|
|
@ -4,13 +4,13 @@ function script.build {
|
|||
|
||||
if [[ -n "${sources[$target]}" ]]; then
|
||||
S="${sources[$target]}"
|
||||
else
|
||||
elif [[ -e "${target}.in" ]]; then
|
||||
S="${target}.in"
|
||||
fi
|
||||
|
||||
write -n "${target}:"
|
||||
|
||||
if [[ -e "${S%% *}" ]]; then
|
||||
if [[ -n "${S}" ]]; then
|
||||
write " $S"
|
||||
write "\t@echo '$(SED "${target}")'"
|
||||
write -n "\t${Q}sed -e '"
|
||||
|
|
Loading…
Reference in New Issue