Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
59bcb2ac
Commit
59bcb2ac
authored
Mar 13, 2002
by
Mike Hibler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't download/install if already there
Clean up afterward
parent
86d6b225
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
event/trafgen/tg-install
event/trafgen/tg-install
+10
-5
No files found.
event/trafgen/tg-install
View file @
59bcb2ac
#!/bin/sh
# cd from <builddir>/event/trafgen to testbed/event/trafgen
cd
$1
fetch http://www.emulab.net/tg2.0.tar.gz
#fetch http://www.postel.org/tg/tg2.0.tar.gz
tar
xzf tg2.0.tar.gz
patch
-p0
< tg.patch
if
[
!
-d
$1
/tg2.0/src
]
;
then
echo
"Downloading tg2.0 source to
$1
..."
cd
$1
fetch http://www.emulab.net/tg2.0.tar.gz
#fetch http://www.postel.org/tg/tg2.0.tar.gz
echo
"Unpacking/patching tg2.0 source ..."
tar
xzf tg2.0.tar.gz
patch
-p0
< tg.patch
rm
-f
tg2.0.tar.gz tg2.0/
*
/
*
/
*
.orig
fi
Write
Preview
Markdown
is supported
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