aboutsummaryrefslogtreecommitdiffstats
path: root/main/uclibc++/002-path_to_bash.patch
blob: 46b793b6853fd8ec51a7a08b3be1ebf6e57ea684 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur old/bin/Makefile dev/bin/Makefile
--- old/bin/Makefile	Sat Oct 14 17:49:54 2006
+++ dev/bin/Makefile	Sat Oct 14 17:57:33 2006
@@ -13,7 +13,7 @@
 	$(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR)
 
 $(WRAPPER):
-	echo "#!/bin/bash" > $(WRAPPER)
+	echo "#!/usr/bin/env bash" > $(WRAPPER)
 	echo "" >> $(WRAPPER)
 	echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $(WRAPPER)
 	echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $(WRAPPER)