File: set_mkisofs_opts

package info (click to toggle)
debian-cd 2.2.13
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,480 kB
  • ctags: 120
  • sloc: sh: 1,666; perl: 1,078; makefile: 832
file content (30 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh

# Copyright 1999 Raphal Hertzog <hertzog@debian.org>
# See the README file for the license.

# This script does output additionnal mkisofs options
# depending on the ARCH and the CD number.

# Type can be "bin" or "src"
TYPE=$1
# The CD number
CD=$2

# No additional options by default
OPTS=

case "$ARCH" in
  i386) 
    OPTS="-J"
    ;;
  alpha)
    OPTS="-J"
    ;;
  *)
    #No options by default
    ;;
esac

echo -n "$OPTS "