vlc/make-alias
2007-12-09 21:36:32 +00:00

15 lines
265 B
Bash
Executable File

#! /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 vlc | sed -e "$transform"` -I "$IFACE" "\$@"
EOF
chmod +x "$OUT.tmp"
mv -f -- "$OUT.tmp" "$OUT"