Make some scripts more portable
Change-Id: Ia89059eea51ca396a7c74143625ac9a6706de198 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120773 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ $(call gb_ExternalProject_get_state_target,python3,fixscripts) : $(call gb_Exter
|
||||
pydoc$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR) \
|
||||
python$(PYTHON_VERSION_MAJOR).$(PYTHON_VERSION_MINOR)-config \
|
||||
; do { rm "$$file" && $(gb_AWK) '\
|
||||
BEGIN {print "#!/bin/bash\n\
|
||||
BEGIN {print "#!/usr/bin/env bash\n\
|
||||
origpath=$$(pwd)\n\
|
||||
bindir=$$(cd $$(dirname \"$$0\") ; pwd)\n\
|
||||
cd \"$$origpath\"\n\
|
||||
|
||||
Reference in New Issue
Block a user