make-alias 299 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
#! /bin/sh
# Interface alias build script for VLC
# Copyright © 2007 Rémi Denis-Courmont.

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

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

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