]> git.sesse.net Git - vlc/blob - make-alias
Do not tell people to install in /usr by default
[vlc] / make-alias
1 #! /bin/sh
2 # Interface alias build script for VLC
3 # Copyright © 2007 Rémi Denis-Courmont.
4
5 OUT="$1"
6 IFACE="$2"
7
8 cat > "$OUT.tmp" << EOF
9 #! /bin/sh
10 exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
11 EOF
12
13 chmod +x "$OUT.tmp"
14 mv -f -- "$OUT.tmp" "$OUT"