summaryrefslogtreecommitdiffstats
path: root/package/uclibc++/patches/002-path_to_bash.patch
blob: 26d88ee4dd9ab0e0e931ca405fd9eb94a4637fd4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -13,7 +13,7 @@ install:
 	$(INSTALL) -m 755 $(WRAPPER) $(PREFIX)$(UCLIBCXX_RUNTIME_BINDIR)
 
 $(WRAPPER): Makefile
-	echo '#!/bin/sh' > $@
+	echo '#!/usr/bin/env bash' > $@
 	echo '' >> $@
 	echo 'WRAPPER_INCLUDEDIR="$${WRAPPER_INCLUDEDIR:=-I$(UCLIBCXX_RUNTIME_INCLUDEDIR)}"' >> $@
 	echo 'WRAPPER_LIBDIR="$${WRAPPER_LIBDIR:=-L$(UCLIBCXX_RUNTIME_LIBDIR)}"' >> $@