aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/util/syminst.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/syminst.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/syminst.sh')
-rw-r--r--nx-X11/config/util/syminst.sh90
1 files changed, 0 insertions, 90 deletions
diff --git a/nx-X11/config/util/syminst.sh b/nx-X11/config/util/syminst.sh
deleted file mode 100644
index f9e1863d5..000000000
--- a/nx-X11/config/util/syminst.sh
+++ /dev/null
@@ -1,90 +0,0 @@
-#!/bin/sh
-
-#
-# syminst - install with a symbolic link back to the build tree
-#
-
-# set DOITPROG to echo to test this script
-
-doit="${DOITPROG-}"
-
-
-# put in absolute paths if you don't have them in your path; or use env. vars.
-
-lnprog="${LNPROG-ln -s}"
-rmprog="${RMPROG-rm}"
-
-instcmd="$lnprog"
-rmcmd="$rmprog -f"
-srcdir=`pwd`/
-src=""
-dst=""
-
-while [ x"$1" != x ]; do
- case $1 in
- -c) shift
- continue;;
-
- -m) shift
- shift
- continue;;
-
- -o) shift
- shift
- continue;;
-
- -g) shift
- shift
- continue;;
-
- -s) shift
- continue;;
-
- -DIR) srcdir=`echo $2 | sed 's;/\./;/;g'`/
- shift
- shift
- continue;;
-
- *) if [ x"$src" = x ]
- then
- src=$1
- else
- dst=$1
- fi
- shift
- continue;;
- esac
-done
-
-if [ x"$src" = x ]
-then
- echo "syminst: no input file specified"
- exit 1
-fi
-
-if [ x"$dst" = x ]
-then
- echo "syminst: no destination specified"
- exit 1
-fi
-
-
-# if destination is a directory, append the input filename; if your system
-# does not like double slashes in filenames, you may need to add some logic
-
-if [ -d $dst ]
-then
- dst="$dst"/`basename $src`
-fi
-
-case $src in
- /*) srcdir=""
- instcmd=cp;;
-esac
-
-# get rid of the old one and mode the new one in
-
-$doit $rmcmd $dst
-$doit $instcmd $srcdir$src $dst
-
-exit 0