lit. to clasp the Buddha's feet when danger arises (idiom); fig. to profess devotion only when in trouble
doing things at the last minute
making a hasty last-minute effort
Definitions (Wiktionary)
phrase, idiomatic
to do something hurriedly only at the last minute; to make a last-minute effort (syn.) 平時唔燒香,臨急抱佛腳, 閒時唔燒香,急時抱佛腳, 抱佛腳, 急時抱佛腳, 平時不燒香,臨時抱佛腳, 臨急抱佛腳, 抱佛跤, 臨嫁錐耳, 臨時抱佛腳, 急則抱佛腳, 急來抱佛腳