Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
aaf4eddc
Commit
aaf4eddc
authored
Sep 14, 2010
by
Mike Hibler
Browse files
Bug Fix: redo last commit so it works for either absolute or relative $srcdir
parent
7ae8e905
Changes
2
Hide whitespace changes
Inline
Side-by-side
event/linktest/iperf/iperf-fetch.sh
View file @
aaf4eddc
...
...
@@ -37,7 +37,15 @@ if [ ! -d $dir/iperf-$version/src ]; then
echo
"ERROR: iperf-fetch.sh: tar failed"
exit
1
}
cd
iperf-
$version
&&
patch
-p0
< ../
$srcdir
/iperf-patch
||
{
# XXX hack to deal with relative paths...argh!
case
$srcdir
in
/
*
)
;;
*
)
srcdir
=
"../
$srcdir
"
;;
esac
cd
iperf-
$version
&&
patch
-p0
<
$srcdir
/iperf-patch
||
{
echo
"ERROR: iperf-fetch.sh: patch failed"
exit
1
}
...
...
event/linktest/rude/rude-fetch.sh
View file @
aaf4eddc
...
...
@@ -40,7 +40,16 @@ if [ ! -d $dir/rude-$version/src ]; then
if
[
-d
rude
-a
!
-d
rude-
$version
]
;
then
mv
rude rude-
$version
fi
cd
rude-
$version
&&
patch
-p0
< ../
$srcdir
/rude-patch
||
{
# XXX hack to deal with relative paths...argh!
case
$srcdir
in
/
*
)
;;
*
)
srcdir
=
"../
$srcdir
"
;;
esac
cd
rude-
$version
&&
patch
-p0
<
$srcdir
/rude-patch
||
{
echo
"ERROR: rude-fetch.sh: patch failed"
exit
1
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment