Skip to content
  • Eli Schwartz's avatar
    db-move: Don't store filepaths as a string with whitespace splitting · 01712670
    Eli Schwartz authored
    Use arrays via nameref, since makepkg does not support multidimensional
    arrays, and assigning to/retrieving from an array variable with an
    unknown name requires this.
    
    Requires bash 4.3, requires that architectures never contain chars that
    are invalid in a variable name -- which makepkg explicitly requires in
    order to support architecture-dependent sources/dependencies, and also
    incorporates into linting checks which forbid anything but [[:alnum:]_]
    so that's all good.
    01712670