Browse Source

fix(reh): use correct ripgrep.sh path (#2348)

darkyzhou 1 tháng trước cách đây
mục cha
commit
61a6d6c1b4
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      build/linux/package_reh.sh

+ 4 - 4
build/linux/package_reh.sh

@@ -171,8 +171,8 @@ if [[ "${SHOULD_BUILD_REH}" != "no" ]]; then
 
   pushd "../vscode-reh-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
 
-  if [[ -f "../ripgrep_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh" ]]; then
-    bash "../ripgrep_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh" "node_modules"
+  if [[ -f "../build/linux/${VSCODE_ARCH}/ripgrep.sh" ]]; then
+    bash "../build/linux/${VSCODE_ARCH}/ripgrep.sh" "node_modules"
   fi
 
   echo "Archiving REH"
@@ -190,8 +190,8 @@ if [[ "${SHOULD_BUILD_REH_WEB}" != "no" ]]; then
 
   pushd "../vscode-reh-web-${VSCODE_PLATFORM}-${VSCODE_ARCH}"
 
-  if [[ -f "../ripgrep_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh" ]]; then
-    bash "../ripgrep_${VSCODE_PLATFORM}_${VSCODE_ARCH}.sh" "node_modules"
+  if [[ -f "../build/linux/${VSCODE_ARCH}/ripgrep.sh" ]]; then
+    bash "../build/linux/${VSCODE_ARCH}/ripgrep.sh" "node_modules"
   fi
 
   echo "Archiving REH-web"