17 lines
723 B
Bash
Executable file
17 lines
723 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -x
|
|
|
|
mkdir -p ~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/
|
|
|
|
# Remove possible symlinks
|
|
rm -f ~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src
|
|
rm -f ~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4
|
|
|
|
mkdir -p ~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/
|
|
sudo mount --bind ~/master-thesis/netpfga/minip4/ \
|
|
~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/
|
|
|
|
mkdir -p ~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src
|
|
sudo mount --bind ~nico/master-thesis/p4src/ \
|
|
~/projects/P4-NetFPGA/contrib-projects/sume-sdnet-switch/projects/minip4/src
|