1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-14 23:46:10 +00:00
freebsd-ports/security/skip/files/patch-ae

22 lines
535 B
Plaintext
Raw Normal View History

diff -ur --unidirectional-new-file skipsrc-1.0.orig/admin/skip_conf.sh work.new/admin/skip_conf.sh
--- skipsrc-1.0.orig/admin/skip_conf.sh Fri Oct 25 13:11:19 1996
+++ work.new/admin/skip_conf.sh Mon Mar 8 21:33:39 1999
@@ -8,14 +8,9 @@
exit 1
fi
-SUNOS=`/bin/uname -r | /bin/sed 's/\..*//g'`
-if [ $SUNOS = 5 ]; then
- SKIP_BIN=/opt/SUNWicg/bin
- SKIP_ETC=/etc/opt/SUNWicg/skip
-else
- SKIP_BIN=/usr/skip/bin
- SKIP_ETC=/etc/skip
-fi
+PREFIX=@@PREFIX@@
+SKIP_BIN=${PREFIX}/bin
+SKIP_ETC=${PREFIX}/etc/skip
VARIABLE=$1
shift