blob: 91d573a7c9d31318ce5fb264507d933e814ec4c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
check_symlinks() {
for file in `find ${1} -type l` ; do
if ! test -e ${file} ; then
echo "Broken symlink:"
echo "${file}"
fi
done
}
NBDIR="/usr/share/netbeans-5.5"
check_symlinks ${NBDIR}/ide7/modules/ext
check_symlinks ${NBDIR}/ide7/modules/autoload/ext
check_symlinks ${NBDIR}/enterprise3/config/TagLibraries/JSTL11
check_symlinks ${NBDIR}/platform6/modules/ext
${NBDIR}/bin/netbeans "$@"
|