File: make-alias

package info (click to toggle)
vlc 2.0.3-5%2Bdeb7u2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 155,972 kB
  • sloc: ansic: 350,796; cpp: 80,439; objc: 28,824; sh: 13,349; makefile: 2,096; xml: 1,536; asm: 815; python: 240; perl: 110; sed: 16
file content (14 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download | duplicates (13)
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"