1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-13 19:52:20 +00:00
cde/bin/silent
Lefteris Koutsofios 0b36868c8c - added code to install an 'ar' script which appends the U flag to the first
argument. the semantics for ar were changed to zero out the timestamp of
  each module. nmake relies on the timestamp to tell if the module has changed

- added modified 'cc' scripts for linux to add the -P flag. modern gcc's put
  # lines that confuse nmake

- changed make.probe script to drop -nostartfiles for gcc >= 7.0
2020-02-12 12:46:56 -05:00

42 lines
1.7 KiB
Text
Executable file

########################################################################
# #
# This software is part of the ast package #
# Copyright (c) 1994-2011 AT&T Intellectual Property #
# and is licensed under the #
# Eclipse Public License, Version 1.0 #
# by AT&T Intellectual Property #
# #
# A copy of the License is available at #
# http://www.eclipse.org/org/documents/epl-v10.html #
# (with md5 checksum b35adb5213ca9657e911e9befb180842) #
# #
# Information and Software Systems Research #
# AT&T Research #
# Florham Park NJ #
# #
# Glenn Fowler <gsf@research.att.com> #
# #
########################################################################
# non-ksh stub for the nmake silent prefix
# @(#)silent (AT&T Research) 1992-08-11
case $-:$BASH_VERSION in
*x*:[01234567899]*) : bash set -x is broken :; set +ex ;;
esac
while :
do case $# in
0) exit 0 ;;
esac
case $1 in
*=*) case $RANDOM in
$RANDOM)`echo $1 | sed "s/\\([^=]*\\)=\\(.*\\)/eval \\1='\\2'; export \\1/"` ;;
*) export "$1" ;;
esac
shift
;;
*) break
;;
esac
done
"$@"