File tree 2 files changed +6
-2
lines changed
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
32
32
shift # past argument
33
33
;;
34
34
-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
35
39
OPTIONS=" $OPTIONS --standalone"
36
40
STANDALONE=1
37
41
shift # past argument
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ pluginDir=$1
15
15
16
16
mkdir -p ${pluginDir} /Linux/x86_64/
17
17
find 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
19
19
find 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