Skip to content

Commit

Permalink
fix script name
Browse files Browse the repository at this point in the history
  • Loading branch information
ccheraa committed Sep 10, 2021
1 parent 25ddfcb commit 9af6bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload-prebuilt-binaries.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ if [[ $1 ]]; then
echo done!
fi
else
export script=$(readlink -f $0);
export script="$( cd "$( dirname "$0" )" &> /dev/null && pwd )/$(basename $0)";
find node_modules -wholename "*/build/Release/*.node" -exec bash -c '[[ $(dirname $1) == *build/Release ]] && [[ $1 =~ node_modules/(.*)/build/Release/(.*).node ]] && [[ ${BASH_REMATCH[2]} != ffmpeg ]] && $script $1' bash {} \;
fi

0 comments on commit 9af6bd5

Please sign in to comment.