summaryrefslogtreecommitdiff
path: root/hpiutil/upd
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-06 18:04:32 +0200
commita7f89980e5b3f4b9a74c70dbc5ffe8aabd28be28 (patch)
tree41c4deec1fdfbafd7821b4ca7a9772ac0abd92f5 /hpiutil/upd
Imported Upstream version 2.9.3upstream/2.9.3
Diffstat (limited to 'hpiutil/upd')
-rwxr-xr-xhpiutil/upd24
1 files changed, 24 insertions, 0 deletions
diff --git a/hpiutil/upd b/hpiutil/upd
new file mode 100755
index 0000000..0967595
--- /dev/null
+++ b/hpiutil/upd
@@ -0,0 +1,24 @@
+# upd
+# update hpi library objects to public share
+#
+# todir=/mnt/pub/panich/hpi/hpiutil
+todir=/mnt/pub/cress/hpi/hpiutil
+hdir=/root/hpi
+cdir=`pwd`
+
+if [ $# -ge 1 ]
+then
+ OS=$1
+else
+ OS=el3
+fi
+mkdir -p $todir/obj/$OS
+# cd $SAHPI_HOME
+cd $hdir
+cp bin/SpiLibd $todir/obj/$OS
+cp lib/*.so* $todir/obj/$OS
+if [ -f lib/Server ]
+then
+ cp lib/Server $todir/obj/$OS
+fi
+cd $cdir