Skip to content

Commit dc7f771

Browse files
committed
upd: echo var name
1 parent 8a5b18e commit dc7f771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ config-if: config
240240
## print config var
241241
## make echo-gitea-admin-pass
242242
echo-%:
243-
@x=$@ ; x1=$${x#echo-} ; x2=$${x1//-/_} ; name=$${x2^^} ; val=$${!name} ; echo $$val
243+
@x=$@ ; x1=$${x#echo-} ; x2=$${x1//-/_} ; name=$${x2^^} ; val=$${!name} ; echo "$$name: $$val"
244244

245245
.stamp:
246246
@echo -n $(shell date --rfc-3339=seconds) ' '

0 commit comments

Comments
 (0)