瀏覽代碼

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

darkyzhou 1 月之前
父節點
當前提交
61a6d6c1b4
共有 1 個文件被更改,包括 4 次插入4 次删除
  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"