1
0

01_no_bashisms.patch 307 B

12345678910111213
  1. Subject: This patch avois calling directly to /bin/sh.
  2. Author: David Martínez Moreno <ender@debian.org>
  3. --- a/aoe-mkdevs
  4. +++ b/aoe-mkdevs
  5. @@ -56,6 +56,6 @@
  6. mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
  7. i=0
  8. while test $i -lt $n_shelves; do
  9. - sh $mkshelf $dir $i
  10. + $mkshelf $dir $i
  11. i=`expr $i + 1`
  12. done