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
40
41
|
#!/bin/sh
# Copyright 1999 Raphaƫl 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"
;;
amd64)
OPTS="-J"
;;
alpha)
OPTS="-J"
;;
*)
#No options by default
;;
esac
case "$TYPE" in
src)
# breaks Joliet specification, but needed due to some absurdly long
# filenames that need .dsc/.diff.gz to be distinct
OPTS="${OPTS:+$OPTS }-joliet-long"
;;
esac
echo -n "$OPTS "
|