Skip to content

Commit

Permalink
env: fixed date env var mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Sourav Gain committed Aug 9, 2022
1 parent b73a5ea commit e65d8da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -492,7 +492,7 @@ endif
ifneq ($(SHRP_STATUSBAR_LEFT_PADDING),)
LOCAL_CFLAGS += -DSHRP_STATUSBAR_LEFT_PADDING=$(SHRP_STATUSBAR_LEFT_PADDING)
endif
ifneq ($(SHRP_BUILD_DATE),)
ifneq ($(SHRP_DATE),)
LOCAL_CFLAGS += -DSHRP_BUILD_DATE=$(SHRP_DATE)
endif
ifneq ($(SHRP_NO_SAR_AUTOMOUNT),)
Expand Down
2 changes: 1 addition & 1 deletion gui/libguitwrp_defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func globalFlags(ctx android.BaseContext) []string {
cflags = append(cflags, "-DSHRP_EXPRESS_USE_DATA")
}

if getMakeVars(ctx, "SHRP_BUILD_DATE") != "" {
if getMakeVars(ctx, "SHRP_DATE") != "" {
cflags = append(cflags, "-DSHRP_BUILD_DATE="+getMakeVars(ctx, "SHRP_DATE"))
}

Expand Down

0 comments on commit e65d8da

Please sign in to comment.