1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
#! /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" |