File: make-alias

package info (click to toggle)
vlc 3.0.22-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208,324 kB
  • sloc: ansic: 443,399; cpp: 111,127; objc: 36,399; sh: 6,737; makefile: 6,623; javascript: 4,902; xml: 1,611; asm: 1,355; yacc: 644; python: 321; lex: 88; perl: 77; sed: 16
file content (14 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#! /bin/sh
# Interface alias build script for VLC
# Copyright © 2007 Rémi Denis-Courmont.

OUT="$1"
IFACE="$2"

cat > "$OUT.tmp" << EOF
#! /bin/sh
exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
EOF

chmod +x "$OUT.tmp"
mv -f -- "$OUT.tmp" "$OUT"