summaryrefslogtreecommitdiff
path: root/package/uclibc++/patches/patch-bin_Makefile
blob: 6be4e2b382a31d7108a2e9c3399f502896fb2c97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
--- uClibc++-0.2.1.orig/bin/Makefile	2006-09-04 04:28:02.000000000 +0200
+++ uClibc++-0.2.1/bin/Makefile	2009-04-29 19:45:06.704996078 +0200
@@ -13,7 +13,7 @@ install:
 	$(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)