dxa9: clean code
[vlc.git] / make-alias
blobdf67b4e99f624a19a35c4cb00ea2b9e600c91d59
1 #! /bin/sh
2 # Interface alias build script for VLC
3 # Copyright © 2007 Rémi Denis-Courmont.
5 OUT="$1"
6 IFACE="$2"
8 cat > "$OUT.tmp" << EOF
9 #! /bin/sh
10 exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
11 EOF
13 chmod +x "$OUT.tmp"
14 mv -f -- "$OUT.tmp" "$OUT"