diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2017-04-06 01:06:10 +0200 |
---|---|---|
committer | Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> | 2017-04-17 03:11:34 +0200 |
commit | 49088b0860276c664933c2b3e36a2fef714b7a07 (patch) | |
tree | a0d2ec94d0e11a35cdde010650e6fa36bdd4e0fc /pacman-staging.conf | |
parent | a1f8ac9c70494009554c08c1036351cb2b374828 (diff) | |
download | devtools-49088b0860276c664933c2b3e36a2fef714b7a07.tar.gz devtools-49088b0860276c664933c2b3e36a2fef714b7a07.tar.xz |
makechrootpkg: Avoid having code floating around outside of a function.
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 'pacman-staging.conf')
0 files changed, 0 insertions, 0 deletions