summaryrefslogtreecommitdiff
path: root/lib/common.sh
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-02-15 15:27:51 -0500
committerLuke Shumaker <lukeshu@parabola.nu>2017-04-05 18:59:17 -0400
commit3e67969d0d05b45962c9e1809ea1b96dceacca84 (patch)
tree455aa62f1d7f2d8120513465d482908da01b0196 /lib/common.sh
parent2243a276e4b84dedc8d362ad66716026688949c0 (diff)
makechrootpkg: Avoid having code floating around outside of a function.lukeshu/to-upstream/makepkg-main-20170405.1
This means wrapping variable initialization in init_variables(), and the main program routine in main(). I did NOT put `shopt -s nullglob` in to a function. It make make sense to move init_variables() down into the main() function, instead of having it as a separate function up top (if this done, then the `-g` flag passed to `declare` in init_variables() can be dropped). However, in interest of keeping the `diff -w` small, and merges/rebases simpler, this isn't done here.
Diffstat (limited to 'lib/common.sh')
0 files changed, 0 insertions, 0 deletions