File: set_mkisofs_opts

package info (click to toggle)
debian-cd 3.2.3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,848 kB
  • sloc: sh: 6,129; perl: 4,129; makefile: 413
file content (39 lines) | stat: -rwxr-xr-x 631 bytes parent folder | download | duplicates (5)
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
31
32
33
34
35
36
37
38
39
#!/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 -joliet-long"
    ;;
  amd64) 
    OPTS="-J -joliet-long"
    ;;
  alpha)
    OPTS="-J -joliet-long"
    ;;
  arm*)
    OPTS="-J -joliet-long"
    ;;
  s390*)
    OPTS="-J -joliet-long"
    ;;
  *)
    #No options by default - don't know about other arches
    ;;
esac

echo -n "$OPTS "