bash-aptfile
bash-aptfile copied to clipboard
looks like aptfile ignores the first line of an Aptfile
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