kisslinux / kiss

KISS Linux - Package Manager
https://kisslinux.github.io
MIT License
465 stars 62 forks source link

Unsure of source of `pkg` variable #114

Closed Akeboshiwind closed 4 years ago

Akeboshiwind commented 4 years ago

Hey, I'm probably just missing a feature of sh I didn't know about, but where is the source of this pkg variable you use all over the place. I can't see it being set anywhere and it should just default to empty.

Edit: I forgot to add an example: https://github.com/kisslinux/kiss/blob/9d19826b85de1864293f556e87a86500fbff8243/kiss#L167

dylanaraps commented 4 years ago

When a list or variable is omitted, for var will iterate over $@.

Akeboshiwind commented 4 years ago

Thanks :)