1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/misc/mc/files/patch-ai
Steve Price e73e818358 Use PREFIX instead of /usr/local.
Noted by:	many people
1999-12-23 18:37:52 +00:00

21 lines
605 B
Plaintext

--- vfs/extfs/uzip.in Wed Sep 29 16:39:35 1999
+++ vfs/extfs/uzip.in.new Fri Dec 3 22:17:45 1999
@@ -7,7 +7,7 @@
#
#
-DZIP=/usr/bin
+DZIP=%%PREFIX%%/bin
XZIP="$DZIP/zip -g"
XDZIP="$DZIP/zip -d"
XUNZIP="$DZIP/unzip"
@@ -67,7 +67,7 @@
if ($8 ~ /\/$/)
printf "drwxr-xr-x 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, $8
else
- printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " ")
+ printf "-rw-r--r-- 1 %-8d %-8d %8d %s %s %s\n", uid, 0, $1, $5, $6, substr($0, index($0, $7) + length($7 " "))
}' 2>/dev/null
fi
}