summaryrefslogtreecommitdiffstats
path: root/java/jdk13/scripts/check_wrkdir_links.sh
diff options
context:
space:
mode:
Diffstat (limited to 'java/jdk13/scripts/check_wrkdir_links.sh')
-rwxr-xr-xjava/jdk13/scripts/check_wrkdir_links.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/java/jdk13/scripts/check_wrkdir_links.sh b/java/jdk13/scripts/check_wrkdir_links.sh
deleted file mode 100755
index bc09f1939..000000000
--- a/java/jdk13/scripts/check_wrkdir_links.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-
-WRKDIRPREFIX=$1
-LINUXBASE=$2
-
-if [ "x${WRKDIRPREFIX}" = "x" -o "x${LINUXBASE}" = "x" ]; then
- exit 0
-fi
-
-LINUXWRKDIRPREFIX="${LINUXBASE}/${WRKDIRPREFIX}"
-
-while [ "x${LINUXWRKDIRPREFIX}" != "x" ]; do
- if [ -L "${LINUXWRKDIRPREFIX}" -a \
- x`ls -ld "${LINUXWRKDIRPREFIX}" 2>/dev/null | \
- awk '/->/{print $NF;exit 0}END{exit 1}'` = \
- x"${WRKDIRPREFIX}" ]; then
- echo "link"
- exit 1
- fi
- if [ -L "${LINUXWRKDIRPREFIX}" ]; then
- LINUXWRKDIRPREFIX=`ls -ld "${LINUXWRKDIRPREFIX}" 2>/dev/null | \
- awk '/->/{print $NF;exit 0}END{exit 1}'`
- else
- break
- fi
-done
-
-exit 0