Skip to content

Commit

Permalink
Take program prefix and suffix into account in the make-alias script.
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Cellerier committed May 25, 2008
1 parent c6b1b02 commit 3dfed6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion make-alias
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3dfed6d

Please sign in to comment.