diff options
author | hubertf <hubertf> | 2002-07-24 05:05:59 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2002-07-24 05:05:59 +0000 |
commit | 281454ae2ee6fec4864d06447a096876f601b844 (patch) | |
tree | 70e31b803cbf5d396e6ea75b8bfd50fb9e245455 /sysutils/mc/patches | |
parent | 642aad1bcbaa45ce28cef51d6f105aa2335bb951 (diff) | |
download | pkgsrc-281454ae2ee6fec4864d06447a096876f601b844.tar.gz |
fix handling of lha archives:
if ls(1) doesn't have a -e switch, it must have a --full-times
switch, right?!?! Try -T also. (SUSv3 specifies neither -e nor -T)
Diffstat (limited to 'sysutils/mc/patches')
-rw-r--r-- | sysutils/mc/patches/patch-ae | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/mc/patches/patch-ae b/sysutils/mc/patches/patch-ae new file mode 100644 index 00000000000..0ca76233330 --- /dev/null +++ b/sysutils/mc/patches/patch-ae @@ -0,0 +1,23 @@ +$NetBSD: patch-ae,v 1.7 2002/07/24 05:06:00 hubertf Exp $ + +--- vfs/extfs/ulha.in.orig Wed Jul 24 06:52:24 2002 ++++ vfs/extfs/ulha.in +@@ -34,11 +34,16 @@ + # Define your awk + AWK=@AWK@ + +-if ls -de . >& /dev/null; ++if ls -de . >/dev/null 2>&1 ; + then + LS_COMMAND="ls -le" + else +- LS_COMMAND="ls -l --full-time" ++ if ls -dT . >/dev/null 2>&1; # BSD::ls -T == Linux::ls -e ++ then ++ LS_COMMAND="ls -lT" ++ else ++ LS_COMMAND="ls -l --full-time" ++ fi + fi + + # Define which archiver you are using with appropriate options |