Commits

ysulsky  committed df0bf47

seq isn't portable

  • Participants
  • Parent commits b8af308

Comments (0)

Files changed (1)

File build-and-install

 
 if $uninstall; then
   rev_build_order=( )
-  for i in `seq $(( ${#build_order[@]} - 1 )) -1 0`; do
+  for ((i=${#build_order[@]}-1; i>=0; i--)); do
       rev_build_order+=( "${build_order[$i]}" )
   done
   build_order=( "${rev_build_order[@]}" )