Commit 3dfed6db authored by Antoine Cellerier's avatar Antoine Cellerier

Take program prefix and suffix into account in the make-alias script.

parent c6b1b02a
...@@ -353,7 +353,7 @@ EXTRA_SCRIPTS = $(ALL_ALIASES) ...@@ -353,7 +353,7 @@ EXTRA_SCRIPTS = $(ALL_ALIASES)
dist_noinst_SCRIPTS += make-alias dist_noinst_SCRIPTS += make-alias
MKALIAS = bindir="$(bindir)" transform="$(transform)" $(top_srcdir)/make-alias $@ MKALIAS = bindir="$(bindir)" transform="$(transform)" program_prefix="$(program_prefix)" program_suffix="$(program_suffix)" $(top_srcdir)/make-alias $@
cvlc: make-alias cvlc: make-alias
$(MKALIAS) dummy $(MKALIAS) dummy
......
...@@ -7,7 +7,7 @@ IFACE="$2" ...@@ -7,7 +7,7 @@ IFACE="$2"
cat > "$OUT.tmp" << EOF cat > "$OUT.tmp" << EOF
#! /bin/sh #! /bin/sh
exec $bindir/`echo vlc | sed -e "$transform"` -I "$IFACE" "\$@" exec $bindir/`echo "$program_prefix"vlc"$program_suffix" | sed -e "$transform"` -I "$IFACE" "\$@"
EOF EOF
chmod +x "$OUT.tmp" chmod +x "$OUT.tmp"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment