summaryrefslogtreecommitdiffstats
path: root/archrm.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2017-04-06 01:06:10 +0200
committerJan Alexander Steffens (heftig) <jan.steffens@gmail.com>2017-04-17 03:11:34 +0200
commit49088b0860276c664933c2b3e36a2fef714b7a07 (patch)
treea0d2ec94d0e11a35cdde010650e6fa36bdd4e0fc /archrm.in
parenta1f8ac9c70494009554c08c1036351cb2b374828 (diff)
downloaddevtools-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 'archrm.in')
0 files changed, 0 insertions, 0 deletions