E

Issue with CMD in .arg file

Summary

The user is attempting to use an .arg file with the command CMD=diff in version 0.8, but when they try to access it using RUN echo $CMD, the output is empty, despite the target output showing the argument and value correctly. They are seeking to understand what they are doing wrong.

Status
open
Tags
  • CMD=diff
  • 0.8
  • CMD issue
  • arg file
  • Earthly
  • Earthly
Source
#earthly
    j

    jf

    10/7/2024

    with version 0.8, i'm trying to use an .arg file that contains CMD=diff, but when I try to access it in a simple RUN echo $CMD the value is empty. and yet the target output prints the argument and value correctly, what am I doing wrong?