aboutsummaryrefslogtreecommitdiffstats
path: root/host/apps/omap_debug/fetch-module.sh
diff options
context:
space:
mode:
authorPhilip Balister <philip@opensdr.com>2010-04-03 16:59:44 +0000
committerPhilip Balister <philip@opensdr.com>2010-04-03 16:59:44 +0000
commitb0316af8ebc713afaddc5b6ded5c0304353a7ab6 (patch)
treeaa0e59170bd96453e151a15923ae90c98797ef4f /host/apps/omap_debug/fetch-module.sh
parentea28c75555b989407d182225febffad8d2a64d1e (diff)
downloaduhd-b0316af8ebc713afaddc5b6ded5c0304353a7ab6.tar.gz
uhd-b0316af8ebc713afaddc5b6ded5c0304353a7ab6.tar.bz2
uhd-b0316af8ebc713afaddc5b6ded5c0304353a7ab6.zip
Attempt to make scripts run inside and outside GHQ.
When at GHQ: export GHQ=1 export GHQ_USER="something that can log in to astro"
Diffstat (limited to 'host/apps/omap_debug/fetch-module.sh')
-rwxr-xr-xhost/apps/omap_debug/fetch-module.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/host/apps/omap_debug/fetch-module.sh b/host/apps/omap_debug/fetch-module.sh
index 45cf1f052..52fbd4040 100755
--- a/host/apps/omap_debug/fetch-module.sh
+++ b/host/apps/omap_debug/fetch-module.sh
@@ -1,3 +1,6 @@
-scp balister@192.168.1.167:src/git/kernel_usrp/drivers/misc/usrp_e.ko /lib/modules/2.6.33-rc3/kernel/drivers/misc
-scp balister@192.168.1.167:src/git/kernel_usrp/include/linux/usrp_e.h .
+if [ $GHQ ]; then
+ scp $GHQ_USER@astro:/workspace/usrp1-e-dev/kernel_usrp/drivers/misc/usrp_e.ko /lib/modules/2.6.33-rc3/kernel/drivers/misc
+else
+ scp balister@192.168.1.167:src/git/kernel_usrp/drivers/misc/usrp_e.ko /lib/modules/2.6.33-rc3/kernel/drivers/misc
+fi
sync