Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 3dfed6db962960e045721ff09fc7ef624635c3df 1 parent c6b1b02
Antoine Cellerier authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Makefile.am
  2. +1 −1  make-alias
2  Makefile.am
View
@@ -353,7 +353,7 @@ EXTRA_SCRIPTS = $(ALL_ALIASES)
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
$(MKALIAS) dummy
2  make-alias
View
@@ -7,7 +7,7 @@ IFACE="$2"
cat > "$OUT.tmp" << EOF
#! /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
chmod +x "$OUT.tmp"
Please sign in to comment.
Something went wrong with that request. Please try again.