aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/util/aminstall.sh
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-04-13 15:48:07 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-04-14 09:25:19 +0200
commit097562b8bbc04d421e0ab5e1e7a0b705e393c20e (patch)
tree256eea10746da067c2af565ac177d981c00becc8 /nx-X11/config/util/aminstall.sh
parenta8dad09a56b8cde0b03b8a5cdc77370fc0a428a0 (diff)
downloadnx-libs-097562b8bbc04d421e0ab5e1e7a0b705e393c20e.tar.gz
nx-libs-097562b8bbc04d421e0ab5e1e7a0b705e393c20e.tar.bz2
nx-libs-097562b8bbc04d421e0ab5e1e7a0b705e393c20e.zip
drop: nx-X11/config/util/ (not needed at build time).
Diffstat (limited to 'nx-X11/config/util/aminstall.sh')
-rw-r--r--nx-X11/config/util/aminstall.sh74
1 files changed, 0 insertions, 74 deletions
diff --git a/nx-X11/config/util/aminstall.sh b/nx-X11/config/util/aminstall.sh
deleted file mode 100644
index 19a8a4d5a..000000000
--- a/nx-X11/config/util/aminstall.sh
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-# $Xorg: aminstall.sh,v 1.3 2000/08/17 19:41:52 cpqbld Exp $
-# aminstall - transfer cross-compiled files to system running Amoeba.
-# Usage: aminstall binary-directory [-s stksz] unix-source amoeba-dest
-
-#
-# Default soap mask for files
-#
-SPMASK=0xFF:2:2
-export SPMASK
-PROG=$0
-USAGE="Usage: $PROG binary-directory unix-source amoeba-dest"
-
-#
-# Argument check
-#
-case $# in
-3|5) ;;
-*) echo $USAGE >&2
- exit 1
- ;;
-esac
-
-bindir=$1
-stksz=
-case $2 in
--s) if [ $# -ne 5 ]
- then
- echo $USAGE >&2
- exit 1
- fi
- stksz="-s $3"
- shift
- shift
- ;;
-esac
-
-unxfile=$2
-dest=$3
-
-#
-# Change /public .... into /super (just for installation)
-#
-stripped=`echo $dest | sed 's:^/public::'`
-if [ X$dest != X$stripped ]; then
- dest=/super$stripped
-fi
-
-#
-# If the file already exists, then delete it
-#
-INFO=`$bindir/std_info $dest 2>&1`
-case $INFO in
-*"not found"*) ;;
-*failed*) ;;
-*bytes*) $bindir/del -f $dest
- ;;
-/??????) echo $PROG: cannot install over directory 1>&2
- exit
- ;;
-*) $bindir/del -d $dest
- ;;
-esac
-
-#
-# Transfer the file to Amoeba
-#
-$bindir/../bin.scripts/ainstall $stksz $unxfile $dest > /dev/null 2>&1
-if [ $? -ne 0 ]
-then
- echo "This is not binary - using tob"
- $bindir/tob $unxfile $dest
-fi
-