introduce a nosymlink check category (idea by RT); pass it to test.sh; use cp if ln -s fails (me)

This commit is contained in:
tg
2012-05-04 21:42:51 +00:00
parent b1aa05e36e
commit 5488e79d3b
2 changed files with 19 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
#!/bin/sh
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.558 2012/05/04 21:37:08 tg Exp $'
srcversion='$MirOS: src/bin/mksh/Build.sh,v 1.559 2012/05/04 21:42:50 tg Exp $'
#-
# Copyright (c) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012
@@ -498,6 +498,10 @@ BeOS)
BSD/OS)
: ${HAVE_SETLOCALE_CTYPE=0}
;;
Coherent)
oswarn="; it has major issues"
check_categories="$check_categories nosymlink"
;;
CYGWIN*)
: ${HAVE_SETLOCALE_CTYPE=0}
;;
@@ -1401,7 +1405,7 @@ else
#define EXTERN
#define MKSH_INCLUDES_ONLY
#include "sh.h"
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.558 2012/05/04 21:37:08 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/Build.sh,v 1.559 2012/05/04 21:42:50 tg Exp $");
int main(void) { printf("Hello, World!\n"); return (0); }
EOF
case $cm in