File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ while [[ $# -gt 0 ]]; do
3232 shift # past argument
3333 ;;
3434 -s|--standalone)
35+ if ! hash patchelf 2> /dev/null ; then
36+ echo " Patchelf missing. Standalone build requires patchelf. Install it via apt 'sudo apt install patchelf'."
37+ exit 1
38+ fi
3539 OPTIONS=" $OPTIONS --standalone"
3640 STANDALONE=1
3741 shift # past argument
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ pluginDir=$1
1515
1616mkdir -p ${pluginDir} /Linux/x86_64/
1717find install/lib/dotnet/ -maxdepth 1 -not -name " *.pdb" -type f -exec cp {} ${pluginDir} \;
18- cp $SCRIPTPATH /install/standalone/* ${pluginDir} /Linux/x86_64/
18+ cp $SCRIPTPATH /install/standalone/* ${pluginDir} /Linux/x86_64/ 2> /dev/null
1919find install/lib/ -maxdepth 1 -not -name " *_python.so" -type f -exec cp {} ${pluginDir} /Linux/x86_64/ \;
20- cp $SCRIPTPATH /install/resources/* .so ${pluginDir} /Linux/x86_64/
20+ cp $SCRIPTPATH /install/resources/* .so ${pluginDir} /Linux/x86_64/ 2> /dev/null
You can’t perform that action at this time.
0 commit comments