disabled sharpbang test

svn path=/nixpkgs/trunk/; revision=8458
This commit is contained in:
Martin Bravenboer 2007-03-28 17:49:51 +00:00
parent f92b856311
commit a9c0d60adb

View File

@ -676,8 +676,9 @@ fi
# Do #! scripts work? # Do #! scripts work?
if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then # BRAVO: check disabled for NixOS
echo "#! appears to work in shell scripts" # if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then
# echo "#! appears to work in shell scripts"
case "$host" in case "$host" in
*-*-sunos*|*-*-unicos*) *-*-sunos*|*-*-unicos*)
echo "We won't use it, though, because under SunOS and Unicos it breaks" echo "We won't use it, though, because under SunOS and Unicos it breaks"
@ -690,10 +691,10 @@ if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then
*) *)
echo "SHARPBANGSCRIPTS=true" >> Makefile;; echo "SHARPBANGSCRIPTS=true" >> Makefile;;
esac esac
else # else
echo "No support for #! in shell scripts" # echo "No support for #! in shell scripts"
echo "SHARPBANGSCRIPTS=false" >> Makefile # echo "SHARPBANGSCRIPTS=false" >> Makefile
fi # fi
# Write the OS type (Unix or Cygwin) # Write the OS type (Unix or Cygwin)