vlc/make-alias

15 lines
299 B
Plaintext
Raw Normal View History

#! /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"