disabled sharpbang test
svn path=/nixpkgs/trunk/; revision=8458
This commit is contained in:
parent
f92b856311
commit
a9c0d60adb
@ -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)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user