bash-aptfile icon indicating copy to clipboard operation
bash-aptfile copied to clipboard

looks like aptfile ignores the first line of an Aptfile

Open vitaly opened this issue 4 years ago • 0 comments

I'm usually run aptfile as a binary with an argument as aptfile .../Aptfile, and not as a script 'compiler'. i.e. I don't use the 'hash-bang' in the first line

so.. if my Aptfile has only one line in it, the aptfile Aptfile will fail with an error:

/usr/local/bin/aptfile: line 292: /tmp/aptfile.4682.out: Success

If I add another line to Aptfile it works, but it still ignores the first line e.g. if my Aptfile looks like this:

package 'qweqweqwe'
package 'bash'

aptfile Aptfile succeeds:

> aptfile Aptfile
[OK] package bash

vitaly avatar Sep 15 '21 09:09 vitaly