All pastes #640086 Raw Edit

Anonymous

public text v1 · immutable
#640086 ·published 2007-07-31 02:07 UTC
rendered paste body
root@portablemario:/# dpkg -L bootcd | grep share | grep -v gz | grep -v  conf | grep -v doc | grep -v man | xargs checkbashisms 
possible bashism in /usr/share/bootcd/bootcd2disk line 22 (echo -n/-e):
  [ "$1" ] && echo -e >&2 "\n$1\n"
possible bashism in /usr/share/bootcd/bootcd2disk line 24 (echo -n/-e):
  echo -e >&2 "\n $(basename $0) copy a system running from bootcd to a disk."
possible bashism in /usr/share/bootcd/bootcd2disk line 25 (echo -n/-e):
  echo -e >&2 " syntax:  -i           -- interactiv operation"
possible bashism in /usr/share/bootcd/bootcd2disk line 26 (echo -n/-e):
  echo -e >&2 "          -v           -- be noisy"
possible bashism in /usr/share/bootcd/bootcd2disk line 27 (echo -n/-e):
  echo -e >&2 "          -s           -- be silent and no interaction"
possible bashism in /usr/share/bootcd/bootcd2disk line 28 (echo -n/-e):
  echo -e >&2 "          -c <confdir> -- use another configuration directory"
possible bashism in /usr/share/bootcd/bootcd2disk line 29 (echo -n/-e):
  echo -e >&2 "          -url <url>   -- url from imageserver"
possible bashism in /usr/share/bootcd/bootcd2disk line 30 (echo -n/-e):
  echo -e >&2 "                          (overwrite ISOURL and USEIMAGESERVER)"
possible bashism in /usr/share/bootcd/bootcd2disk line 31 (echo -n/-e):
  echo -e >&2 "          -onlymount   -- only mount disks"
possible bashism in /usr/share/bootcd/bootcd2disk line 32 (echo -n/-e):
  echo -e >&2 "          -onlyunmount -- only unmount disks"
possible bashism in /usr/share/bootcd/bootcd2disk line 33 (echo -n/-e):
  echo -e >&2 "          -mkchroot <dir> -- bootcd will be copied to <dir>/chroot"
possible bashism in /usr/share/bootcd/bootcd2disk line 34 (echo -n/-e):
  echo -e >&2 ""
possible bashism in /usr/share/bootcd/bootcd2disk line 87 ():
  . $BOOTCD2DISKLIB $*
possible bashism in /usr/share/bootcd/bootcd2disk line 91 ():
    . $BOOTCD2DISKLIB $*
possible bashism in /usr/share/bootcd/bootcd2disk line 145 (should be 'b = a'):
while [ "$A" != "y" -a "$A" != "n" -a "$SCRIPT" == "" ]
possible bashism in /usr/share/bootcd/bootcd2disk line 161 (echo -n/-e):
  echo -n "(y/n) " | tee -a $ERRLOG >&2
possible bashism in /usr/share/bootcd/bootcd2disk line 246 (echo -n/-e):
        echo -n " \"dd if=/dev/zero of=$dsk bs=1k count=1\""
possible bashism in /usr/share/bootcd/bootcd2disk line 247 (echo -n/-e):
        echo -n " \"pvcreate --quiet -d -ff -y $dsk\""
possible bashism in /usr/share/bootcd/bootcd2disk line 279 (echo -n/-e):
        echo -n " \"$cmd\""
possible bashism in /usr/share/bootcd/bootcd2disk line 281 (echo -n/-e):
        echo -n " \"vgcreate --quiet $grp $dsks\""
possible bashism in /usr/share/bootcd/bootcd2disk line 283 (echo -n/-e):
      echo -n " \"vgchange --quiet -aey $grp\""
possible bashism in /usr/share/bootcd/bootcd2disk line 309 (echo -n/-e):
        echo -n " \"$cmd\""
possible bashism in /usr/share/bootcd/bootcd2disk line 311 (echo -n/-e):
        echo -n " \"lvcreate -n $vol -L $s $grp\""
possible bashism in /usr/share/bootcd/bootcd2disk line 440 ('function' is useless):
  echo "--- do function before_copy ---" | tee -a $ERRLOG >&2
possible bashism in /usr/share/bootcd/bootcd2disk line 522 ('function' is useless):
  echo "--- do function after_copy ---" | tee -a $ERRLOG >&2
possible bashism in /usr/share/bootcd/bootcdbackup line 74 (echo -n/-e):
  [ "$1" ] && echo -e >&2 "\n$1"
possible bashism in /usr/share/bootcd/bootcdbackup line 75 (echo -n/-e):
  echo -e >&2 "[-i] [-v] [-s] [-c <confdir>] [-url <url] [-nomount] [-2diskconf <file>] <dev> <name> <builddir>\n"
possible bashism in /usr/share/bootcd/bootcdbackup line 76 (echo -n/-e):
  echo -e >&2 "\n $(basename $0) make an offline backup."
possible bashism in /usr/share/bootcd/bootcdbackup line 77 (echo -n/-e):
  echo -e >&2 " syntax:  -i           -- interactiv operation"
possible bashism in /usr/share/bootcd/bootcdbackup line 78 (echo -n/-e):
  echo -e >&2 "          -v           -- be noisy"
possible bashism in /usr/share/bootcd/bootcdbackup line 79 (echo -n/-e):
  echo -e >&2 "          -s           -- be silent and no interaction"
possible bashism in /usr/share/bootcd/bootcdbackup line 80 (echo -n/-e):
  echo -e >&2 "          -c <confdir> -- use another configuration directory"
possible bashism in /usr/share/bootcd/bootcdbackup line 81 (echo -n/-e):
  echo -e >&2 "          -url <url>   -- url from imageserver"
possible bashism in /usr/share/bootcd/bootcdbackup line 82 (echo -n/-e):
  echo -e >&2 "                          (overwrite ISOURL and USEIMAGESERVER)"
possible bashism in /usr/share/bootcd/bootcdbackup line 83 (echo -n/-e):
  echo -e >&2 "          -2diskconf <file> -- add your own bootcd2disk.conf for target system"
possible bashism in /usr/share/bootcd/bootcdbackup line 84 (echo -n/-e):
  echo -e >&2 "                          (may be created with \"bootcdmk2diskconf\" on target disk)"
possible bashism in /usr/share/bootcd/bootcdbackup line 85 (echo -n/-e):
  echo -e >&2 "          -nomount     -- don't mount target disk\n"
possible bashism in /usr/share/bootcd/bootcdbackup line 86 (echo -n/-e):
  echo -e >&2 "          <dev>        -- device where to find the file \"fstab\" for the target disk"
possible bashism in /usr/share/bootcd/bootcdbackup line 87 (echo -n/-e):
  echo -e >&2 "          <name>       -- name of the backup (no blanks!)"
possible bashism in /usr/share/bootcd/bootcdbackup line 88 (echo -n/-e):
  echo -e >&2 "                          (used as directory /<name> where to find the tarball of the target disk)"
possible bashism in /usr/share/bootcd/bootcdbackup line 89 (echo -n/-e):
  echo -e >&2 "                          (also used on bootcd2disk -c <name> to restore the backup)"
possible bashism in /usr/share/bootcd/bootcdbackup line 90 (echo -n/-e):
  echo -e >&2 "          <builddir>   -- build the backup CD/DVD on this directory (need lot of space!)"
possible bashism in /usr/share/bootcd/bootcdbackup line 91 (echo -n/-e):
  echo -e >&2 ""
possible bashism in /usr/share/bootcd/bootcdbackup line 152 (echo -n/-e):
  echo -n "Directory $BACKUPDIR will be removed and created again!(y|n) " | tee -a $ERRLOG >&2
script /usr/share/bootcd/bootcd-run.lib does not appear to have a #! interpreter line;
you may get strange results
possible bashism in /usr/share/bootcd/bootcd-run.lib line 48 (echo -n/-e):
        echo -n "--- (e)xit (r)edo (i)gnore --- " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-run.lib line 84 (echo -n/-e):
      echo -n "--- (e)xit (i)gnore --- " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-run.lib line 166 (let ...):
        let i=i+1
possible bashism in /usr/share/bootcd/bootcd-run.lib line 169 (echo -n/-e):
      echo -n "? [$ANSW]"
script /usr/share/bootcd/bootcd-ia64.lib does not appear to have a #! interpreter line;
you may get strange results
possible bashism in /usr/share/bootcd/S12bootcdram.sh line 10 (echo -n/-e):
echo -n "Minimum of needed INODES: "
script /usr/share/bootcd/default.txt does not appear to have a #! interpreter line;
you may get strange results
possible bashism in /usr/share/bootcd/default.txt line 1 ('select' is not POSIX):
To select a cdrom specify "hda", "hdb", "hdc, "hdd", "scd0" or "scd1".
script /usr/share/bootcd/bootcd2disk.lib does not appear to have a #! interpreter line;
you may get strange results
possible bashism in /usr/share/bootcd/bootcd2disk.lib line 117 (let ...):
    let n=n+1
possible bashism in /usr/share/bootcd/bootcd2disk.lib line 168 ('function' is useless):
  echo "--- do function do_first ---" | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd2disk.lib line 346 (should be 'b = a'):
if [ "$USEIMAGESERVER" == "yes" -o "$ENV_IMAGEURL" ]; then  
possible bashism in /usr/share/bootcd/bootcdflopcp line 90 (echo -n/-e):
      echo -n "change $f (y/n) "
possible bashism in /usr/share/bootcd/bootcdflopcp line 109 (echo -n/-e):
      echo -n "remove $f (y/n) "
script /usr/share/bootcd/bootcd-check.lib does not appear to have a #! interpreter line;
you may get strange results
possible bashism in /usr/share/bootcd/bootcd-check.lib line 14 (echo -n/-e):
      echo -n "Ok to continue? (y/n) " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 321 (should be 'b = a'):
    if [ "$S_VAR" == "" ]; then
possible bashism in /usr/share/bootcd/bootcd-check.lib line 570 (echo -n/-e):
  echo -n "NOT_TO_CD =  . . . . . . . . . . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 572 (echo -n/-e):
  echo -n "CD_ALL (SRCDISK v NOT_TO_CD) = . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 574 (echo -n/-e):
  echo -n "Needed = CD_ALL - NOT_TO_CD  . . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 578 (echo -n/-e):
    echo -n "DVD+ (4.7 billion bytes) = . . . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 581 (echo -n/-e):
    echo -n "CD (650 MB) =  . . . . . . . . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 587 (echo -n/-e):
    echo -n "because of compression perhaps double size = . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 606 (echo -n/-e):
  echo -n "VAR =  . . . . . . . . . . . . . . . . . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 608 (should be 'b = a'):
  if [ "$S_VAR" == "" ]; then
possible bashism in /usr/share/bootcd/bootcd-check.lib line 616 (echo -n/-e):
  echo -n "NOT_TO_RAMCD (NOT_TO_RAM v NOT_TO_CD) =  . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 619 (echo -n/-e):
  echo -n "RAM_ALL (etc v home v root v NOT_TO_RAM v NOT_TO_" | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 622 (echo -n/-e):
  echo -n "Needed RAM (RAM_ALL - NOT_TO_RAMCD) =  . . . . . " | tee -a $ERRLOG
possible bashism in /usr/share/bootcd/bootcd-check.lib line 625 (echo -n/-e):
  echo -n "90 % of RAM  = . . . . . . . . . . . . . . . . . " | tee -a $ERRLOG