repo.or.cz
/
vlc
/
vlc-skelet.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Don't override original pointer when realloc fails.
[vlc/vlc-skelet.git]
/
make-alias
blob
e655ab3f5ef982811da58c7f59086fb4ce40b147
1
#! /bin/sh
2
# Interface alias build script for VLC
3
# Copyright © 2007 Rémi Denis-Courmont.
4
5
OUT
=
"
$1
"
6
IFACE
=
"
$2
"
7
8
cat
>
"
$OUT
.tmp"
<< EOF
9
#! /bin/sh
10
exec
$bindir
/`echo vlc | sed -e "
$transform
"` -I "
$IFACE
" "\$@"
11
EOF
12
13
chmod
+
x
"
$OUT
.tmp"
14
mv
-f --
"
$OUT
.tmp"
"
$OUT
"