3
0
Fork 0
forked from mirrors/nixpkgs

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?
if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then
echo "#! appears to work in shell scripts"
# BRAVO: check disabled for NixOS
# if (SHELL=/bin/sh; export SHELL; (./sharpbang || ./sharpbang2) >/dev/null); then
# echo "#! appears to work in shell scripts"
case "$host" in
*-*-sunos*|*-*-unicos*)
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;;
esac
else
echo "No support for #! in shell scripts"
echo "SHARPBANGSCRIPTS=false" >> Makefile
fi
# else
# echo "No support for #! in shell scripts"
# echo "SHARPBANGSCRIPTS=false" >> Makefile
# fi
# Write the OS type (Unix or Cygwin)