repo.or.cz
/
linux_from_scratch_hints.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lfs-uefi: fix efivar-37 FTBFS
[linux_from_scratch_hints.git]
/
ATTACHMENTS
/
autotools-multiversion
/
automake-wrapper
blob
7eda92b6327769d3d7b8bd8a7cbaa703ef8f36d2
1
#!/bin/sh
2
3
# Dir where all executables reside
4
LOCATION
=
"/usr/bin"
5
6
COMMAND
=
${0##*/}
7
8
# Default Version
9
if
[
-z
"
$WANT_AUTOMAKE
"
]
10
then
11
WANT_AUTOMAKE
=
"1.9"
12
fi
13
14
# Execute the command if found
15
if
[
-x
$LOCATION
/
$COMMAND
-
$WANT_AUTOMAKE
]
16
then
17
exec
$LOCATION
/
$COMMAND
-
$WANT_AUTOMAKE
$@
18
else
19
echo
"Cannot find
$COMMAND
"
20
exit
1
21
fi
22