Replace hard-coded paths in shebangs with #!/usr/bin/env
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 07:18:18 +0000 (07:18 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 4 Jan 2018 07:18:18 +0000 (07:18 +0000)
commitaa36072da7d7b96011716b531a6c7a348c61ef86
tree3b26576c326f258f51a87937e40f224b2a61aa29
parent2d590b7acb9d2e2d2a438283d658e96747d8f78e
Replace hard-coded paths in shebangs with #!/usr/bin/env
https://bugs.webkit.org/show_bug.cgi?id=181040

Patch by Ting-Wei Lan <lantw44@gmail.com> on 2018-01-03
Reviewed by Alex Christensen.

.:

* Source/cmake/tools/scripts/auto-version.pl:
* Source/cmake/tools/scripts/feature-defines.pl:
* Source/cmake/tools/scripts/version-stamp.pl:

Source/JavaScriptCore:

* Scripts/UpdateContents.py:
* Scripts/cssmin.py:
* Scripts/generate-combined-inspector-json.py:
* Scripts/xxd.pl:
* create_hash_table:
* generate-bytecode-files:
* wasm/generateWasm.py:
* wasm/generateWasmOpsHeader.py:
* yarr/generateYarrCanonicalizeUnicode:

Source/WebCore:

* bindings/scripts/InFilesCompiler.pm:
* bindings/scripts/InFilesParser.pm:
* bindings/scripts/generate-bindings-all.pl:
* bindings/scripts/generate-bindings.pl:
* bindings/scripts/preprocess-idls.pl:
* css/make-css-file-arrays.pl:
* css/makeprop.pl:
* css/makevalues.pl:
* dom/make_event_factory.pl:
* dom/make_names.pl:
* extract-localizable-strings.pl:
* make-hash-tools.pl:

Source/WebCore/PAL:

* AVFoundationSupport.py:

Source/WebInspectorUI:

* Scripts/combine-resources.pl:
* Scripts/copy-user-interface-resources-dryrun.rb:
* Scripts/copy-user-interface-resources.pl:
* Scripts/fix-worker-imports-for-optimized-builds.pl:
* Scripts/remove-console-asserts-dryrun.rb:
* Scripts/remove-console-asserts.pl:
* Scripts/update-LegacyInspectorBackendCommands.rb:
* Scripts/update-codemirror-resources.rb:
* WebInspectorUI.vcxproj/build-webinspectorui.pl:

Source/WebKit:

* Scripts/generate-forwarding-headers.pl:

Source/WebKitLegacy:

* scripts/generate-webkitversion.pl:

Tools:

* BuildSlaveSupport/build-launcher-app:
* BuildSlaveSupport/build-launcher-dmg:
* BuildSlaveSupport/build.webkit.org-config/steps_unittest.py:
* BuildSlaveSupport/built-product-archive:
* BuildSlaveSupport/clean-build:
* BuildSlaveSupport/delete-stale-build-files:
* BuildSlaveSupport/download-built-product:
* BuildSlaveSupport/gtk/buildbot/log/run:
* BuildSlaveSupport/gtk/buildbot/run:
* BuildSlaveSupport/gtk/pulseaudio/run:
* BuildSlaveSupport/kill-old-processes:
* BuildSlaveSupport/test-result-archive:
* BuildSlaveSupport/win/kill-old-processes:
* Scripts/SpacingHeuristics.pm:
* Scripts/add-include:
* Scripts/build-api-tests:
* Scripts/build-dumprendertree:
* Scripts/build-imagediff:
* Scripts/build-jsc:
* Scripts/build-webkit:
* Scripts/build-webkittestrunner:
* Scripts/check-Xcode-source-file-types:
* Scripts/check-dom-results:
* Scripts/check-for-exit-time-destructors:
* Scripts/check-for-global-initializers:
* Scripts/check-for-inappropriate-objc-class-names:
* Scripts/check-for-weak-vtables-and-externals:
* Scripts/clean-header-guards:
* Scripts/compare-timing-files:
* Scripts/configure-xcode-for-ios-development:
* Scripts/copy-webkitlibraries-to-product-directory:
* Scripts/create-exports:
* Scripts/debug-minibrowser:
* Scripts/debug-safari:
* Scripts/debug-test-runner:
* Scripts/do-file-rename:
* Scripts/do-webcore-rename:
* Scripts/dump-webkit-tests-run:
* Scripts/ensure-valid-python:
* Scripts/execAppWithEnv:
* Scripts/extract-localizable-js-strings:
* Scripts/filter-build-webkit:
* Scripts/find-extra-includes:
* Scripts/fix-blink-patch:
* Scripts/generate-coverage-data:
* Scripts/git-add-reviewer:
* Scripts/jsc-stress-test-helpers/js-exception-fuzz:
* Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz:
* Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz:
* Scripts/make-new-script-test:
* Scripts/make-script-test-wrappers:
* Scripts/package-root:
* Scripts/parse-malloc-history:
* Scripts/report-include-statistics:
* Scripts/resolve-ChangeLogs:
* Scripts/run-api-tests:
* Scripts/run-bindings-tests:
* Scripts/run-content-extension-tester:
* Scripts/run-iexploder-tests:
* Scripts/run-javascriptcore-tests:
* Scripts/run-jsc:
* Scripts/run-leaks:
* Scripts/run-mangleme-tests:
* Scripts/run-minibrowser:
* Scripts/run-pageloadtest:
* Scripts/run-regexp-tests:
* Scripts/run-safari:
* Scripts/run-sunspider:
* Scripts/run-test-runner:
* Scripts/run-webkit-app:
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-websocketserver:
* Scripts/set-webkit-configuration:
* Scripts/show-pretty-diff:
* Scripts/sort-Xcode-project-file:
* Scripts/split-file-by-class:
* Scripts/sunspider-compare-results:
* Scripts/svn-apply:
* Scripts/svn-unapply:
* Scripts/test-webkit-scripts:
* Scripts/test-webkitperl:
* Scripts/update-iexploder-cssproperties:
* Scripts/update-javascriptcore-test-results:
* Scripts/update-webkit:
* Scripts/update-webkit-auxiliary-libs:
* Scripts/update-webkit-dependency:
* Scripts/update-webkit-libs-jhbuild:
* Scripts/update-webkit-localizable-strings:
* Scripts/update-webkit-support-libs:
* Scripts/update-webkitgtk-libs:
* Scripts/update-webkitwpe-libs:
* Scripts/webkit-build-directory:
* Scripts/webkitperl/LoadAsModule.pm:
* Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl:
* Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl:
* Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl:
* Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl:
* Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl:
* Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl:
* Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl:
* Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl:
* Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl:
* Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl:
* Scripts/webkitperl/VCSUtils_unittest/runCommand.pl:
* Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl:
* Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl:
* Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl:
* Scripts/webkitperl/auto-version_unittest/versionStampTests.pl:
* Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl:
* Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl:
* Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl:
* Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl:
* Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl:
* Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl:
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl:
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl:
* Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl:
* Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl:
* Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRef.pl:
* Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl:
* Scripts/webkitperl/webkitdirs_unittest/extractNonMacOSHostConfiguration.pl:
* Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl:
* Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py:
* ccache/ccache-clang:
* ccache/ccache-clang++:
* ccache/ccache-wrapper:
* gtk/install-dependencies:
* iExploder/iexploder-1.3.2/htdocs/iexploder.cgi:
* iExploder/iexploder-1.3.2/htdocs/webserver.rb:
* iExploder/iexploder-1.3.2/tools/lasthit.rb:
* iExploder/iexploder-1.3.2/tools/osx_last_crash.rb:
* iExploder/iexploder-1.3.2/tools/showtest.rb:
* iExploder/iexploder-1.7.2/src/browser_harness.rb:
* iExploder/iexploder-1.7.2/src/iexploder.cgi:
* iExploder/iexploder-1.7.2/src/webserver.rb:
* iExploder/iexploder-1.7.2/tools/lasthit.rb:
* iExploder/iexploder-1.7.2/tools/osx_last_crash.rb:
* wpe/install-dependencies:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226395 268f45cc-cd09-0410-ab3c-d52691b4dbfc
192 files changed:
ChangeLog
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/Scripts/UpdateContents.py
Source/JavaScriptCore/Scripts/cssmin.py
Source/JavaScriptCore/Scripts/generate-combined-inspector-json.py
Source/JavaScriptCore/Scripts/xxd.pl
Source/JavaScriptCore/create_hash_table
Source/JavaScriptCore/generate-bytecode-files
Source/JavaScriptCore/wasm/generateWasm.py
Source/JavaScriptCore/wasm/generateWasmOpsHeader.py
Source/JavaScriptCore/yarr/generateYarrCanonicalizeUnicode
Source/WebCore/ChangeLog
Source/WebCore/PAL/AVFoundationSupport.py
Source/WebCore/PAL/ChangeLog
Source/WebCore/bindings/scripts/InFilesCompiler.pm
Source/WebCore/bindings/scripts/InFilesParser.pm
Source/WebCore/bindings/scripts/generate-bindings-all.pl
Source/WebCore/bindings/scripts/generate-bindings.pl
Source/WebCore/bindings/scripts/preprocess-idls.pl
Source/WebCore/css/make-css-file-arrays.pl
Source/WebCore/css/makeprop.pl
Source/WebCore/css/makevalues.pl
Source/WebCore/dom/make_event_factory.pl
Source/WebCore/dom/make_names.pl
Source/WebCore/extract-localizable-strings.pl
Source/WebCore/make-hash-tools.pl
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Scripts/combine-resources.pl
Source/WebInspectorUI/Scripts/copy-user-interface-resources-dryrun.rb
Source/WebInspectorUI/Scripts/copy-user-interface-resources.pl
Source/WebInspectorUI/Scripts/fix-worker-imports-for-optimized-builds.pl
Source/WebInspectorUI/Scripts/remove-console-asserts-dryrun.rb
Source/WebInspectorUI/Scripts/remove-console-asserts.pl
Source/WebInspectorUI/Scripts/update-LegacyInspectorBackendCommands.rb
Source/WebInspectorUI/Scripts/update-codemirror-resources.rb
Source/WebInspectorUI/WebInspectorUI.vcxproj/build-webinspectorui.pl
Source/WebKit/ChangeLog
Source/WebKit/Scripts/generate-forwarding-headers.pl
Source/WebKitLegacy/ChangeLog
Source/WebKitLegacy/scripts/generate-webkitversion.pl
Source/cmake/tools/scripts/auto-version.pl
Source/cmake/tools/scripts/feature-defines.pl
Source/cmake/tools/scripts/version-stamp.pl
Tools/BuildSlaveSupport/build-launcher-app
Tools/BuildSlaveSupport/build-launcher-dmg
Tools/BuildSlaveSupport/build.webkit.org-config/steps_unittest.py
Tools/BuildSlaveSupport/built-product-archive
Tools/BuildSlaveSupport/clean-build
Tools/BuildSlaveSupport/delete-stale-build-files
Tools/BuildSlaveSupport/download-built-product
Tools/BuildSlaveSupport/gtk/buildbot/log/run
Tools/BuildSlaveSupport/gtk/buildbot/run
Tools/BuildSlaveSupport/gtk/pulseaudio/run
Tools/BuildSlaveSupport/kill-old-processes
Tools/BuildSlaveSupport/test-result-archive
Tools/BuildSlaveSupport/win/kill-old-processes
Tools/ChangeLog
Tools/Scripts/SpacingHeuristics.pm
Tools/Scripts/add-include
Tools/Scripts/build-api-tests
Tools/Scripts/build-dumprendertree
Tools/Scripts/build-imagediff
Tools/Scripts/build-jsc
Tools/Scripts/build-webkit
Tools/Scripts/build-webkittestrunner
Tools/Scripts/check-Xcode-source-file-types
Tools/Scripts/check-dom-results
Tools/Scripts/check-for-exit-time-destructors
Tools/Scripts/check-for-global-initializers
Tools/Scripts/check-for-inappropriate-objc-class-names
Tools/Scripts/check-for-weak-vtables-and-externals
Tools/Scripts/clean-header-guards
Tools/Scripts/compare-timing-files
Tools/Scripts/configure-xcode-for-ios-development
Tools/Scripts/copy-webkitlibraries-to-product-directory
Tools/Scripts/create-exports
Tools/Scripts/debug-minibrowser
Tools/Scripts/debug-safari
Tools/Scripts/debug-test-runner
Tools/Scripts/do-file-rename
Tools/Scripts/do-webcore-rename
Tools/Scripts/dump-webkit-tests-run
Tools/Scripts/ensure-valid-python
Tools/Scripts/execAppWithEnv
Tools/Scripts/extract-localizable-js-strings
Tools/Scripts/filter-build-webkit
Tools/Scripts/find-extra-includes
Tools/Scripts/fix-blink-patch
Tools/Scripts/generate-coverage-data
Tools/Scripts/git-add-reviewer
Tools/Scripts/jsc-stress-test-helpers/js-exception-fuzz
Tools/Scripts/jsc-stress-test-helpers/js-executable-allocation-fuzz
Tools/Scripts/jsc-stress-test-helpers/js-osr-exit-fuzz
Tools/Scripts/make-new-script-test
Tools/Scripts/make-script-test-wrappers
Tools/Scripts/package-root
Tools/Scripts/parse-malloc-history
Tools/Scripts/report-include-statistics
Tools/Scripts/resolve-ChangeLogs
Tools/Scripts/run-api-tests
Tools/Scripts/run-bindings-tests
Tools/Scripts/run-content-extension-tester
Tools/Scripts/run-iexploder-tests
Tools/Scripts/run-javascriptcore-tests
Tools/Scripts/run-jsc
Tools/Scripts/run-leaks
Tools/Scripts/run-mangleme-tests
Tools/Scripts/run-minibrowser
Tools/Scripts/run-pageloadtest
Tools/Scripts/run-regexp-tests
Tools/Scripts/run-safari
Tools/Scripts/run-sunspider
Tools/Scripts/run-test-runner
Tools/Scripts/run-webkit-app
Tools/Scripts/run-webkit-httpd
Tools/Scripts/run-webkit-websocketserver
Tools/Scripts/set-webkit-configuration
Tools/Scripts/show-pretty-diff
Tools/Scripts/sort-Xcode-project-file
Tools/Scripts/split-file-by-class
Tools/Scripts/sunspider-compare-results
Tools/Scripts/svn-apply
Tools/Scripts/svn-unapply
Tools/Scripts/test-webkit-scripts
Tools/Scripts/test-webkitperl
Tools/Scripts/update-iexploder-cssproperties
Tools/Scripts/update-javascriptcore-test-results
Tools/Scripts/update-webkit
Tools/Scripts/update-webkit-auxiliary-libs
Tools/Scripts/update-webkit-dependency
Tools/Scripts/update-webkit-libs-jhbuild
Tools/Scripts/update-webkit-localizable-strings
Tools/Scripts/update-webkit-support-libs
Tools/Scripts/update-webkitgtk-libs
Tools/Scripts/update-webkitwpe-libs
Tools/Scripts/webkit-build-directory
Tools/Scripts/webkitperl/LoadAsModule.pm
Tools/Scripts/webkitperl/VCSUtils_unittest/decodeGitBinaryPatch.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatch.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/fixChangeLogPatchThenSetChangeLogDateAndReviewer.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/fixSVNPatchForAdditionWithHistory.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/generatePatchCommand.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/mergeChangeLogs.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseChunkRange.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiff.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffHeader.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseDiffWithMockFiles.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseFirstEOL.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseGitDiffHeader.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parsePatch.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffFooter.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseSvnDiffHeader.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseSvnProperty.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseSvnPropertyValue.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/parseUnifiedDiffHeader.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/prepareParsedPatch.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/removeEOL.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/runCommand.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/runPatchCommand.pl
Tools/Scripts/webkitperl/VCSUtils_unittest/setChangeLogDateAndReviewer.pl
Tools/Scripts/webkitperl/auto-version_unittest/autoVersionTests.pl
Tools/Scripts/webkitperl/auto-version_unittest/versionStampTests.pl
Tools/Scripts/webkitperl/filter-build-webkit_unittest/shouldIgnoreLine_unittests.pl
Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/extractLineRangeBeforeAndAfterChange.pl
Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/fetchRadarURLFromBugXMLData.pl
Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/generateFunctionLists.pl
Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/parser_unittests.pl
Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/perl_unittests.pl
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v1.0.pl
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-new.pl
Tools/Scripts/webkitperl/run-leaks_unittest/run-leaks-report-v2.0-old.pl
Tools/Scripts/webkitperl/webkitdirs_unittest/appendToEnvironmentVariableList.pl
Tools/Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRef.pl
Tools/Scripts/webkitperl/webkitdirs_unittest/checkForArgumentAndRemoveFromArrayRefGettingValue.pl
Tools/Scripts/webkitperl/webkitdirs_unittest/extractNonMacOSHostConfiguration.pl
Tools/Scripts/webkitperl/webkitdirs_unittest/prependToEnvironmentVariableList.pl
Tools/Scripts/webkitpy/layout_tests/servers/run_webkit_httpd.py
Tools/ccache/ccache-clang
Tools/ccache/ccache-clang++
Tools/ccache/ccache-wrapper
Tools/gtk/install-dependencies
Tools/iExploder/iexploder-1.3.2/htdocs/iexploder.cgi
Tools/iExploder/iexploder-1.3.2/htdocs/webserver.rb
Tools/iExploder/iexploder-1.3.2/tools/lasthit.rb
Tools/iExploder/iexploder-1.3.2/tools/osx_last_crash.rb
Tools/iExploder/iexploder-1.3.2/tools/showtest.rb
Tools/iExploder/iexploder-1.7.2/src/browser_harness.rb
Tools/iExploder/iexploder-1.7.2/src/iexploder.cgi
Tools/iExploder/iexploder-1.7.2/src/webserver.rb
Tools/iExploder/iexploder-1.7.2/tools/lasthit.rb
Tools/iExploder/iexploder-1.7.2/tools/osx_last_crash.rb
Tools/wpe/install-dependencies