#8 Fix missing variable in license detection
Merged 5 years ago by nim. Opened 5 years ago by eclipseo.

@@ -92,8 +92,8 @@ 

  IFS= golicenses=$(%listfiles

  )

  if [[ -n "${golicenses}" ]] ; then

-   while IFS= read -r ; do

-     echo "%"license \\"${f}\\" >> "%{goworkdir}/%{currentgodevelfilelist}"

+   while IFS= read -r f; do

+     echo "%"license \\""${f}"\\" >> "%{goworkdir}/%{currentgodevelfilelist}"

    done <<< "${golicenses}"

  fi

  )

This was preventing the license files to be echoed to the filelist.

Good catch, thanks, the variable was dropped in a recent code cleanup.

Pull-Request has been merged by nim

5 years ago
Metadata