Skip to content

Commit 130a143

Browse files
author
Sachin Hulyalkar
committed
Fix prepare-src script
1 parent 84826ea commit 130a143

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/prepare-src.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ apply_changes() {
88
local patched_src_dir="${1:-$(pwd)/vscode}"
99
echo "Creating patched source in directory: ${patched_src_dir}"
1010

11-
code_editor_module_path="$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
12-
patch_dir="${code_editor_module_path}/patches"
13-
echo "Code Editor module path: $code_editor_module_path"
14-
echo "Patch directory: $patch_dir"
11+
# code_editor_module_path="$(dirname "$(dirname "${BASH_SOURCE[0]}")")"
12+
# patch_dir="${code_editor_module_path}/patches"
13+
# echo "Code Editor module path: $code_editor_module_path"
14+
# echo "Patch directory: $patch_dir"
1515

1616
export QUILT_PATCHES="${patch_dir}"
1717
export QUILT_SERIES="sagemaker.series"
@@ -21,15 +21,15 @@ apply_changes() {
2121
rm -rf "${patched_src_dir}"
2222

2323
# Copy third party source
24-
rsync -a "${code_editor_module_path}/third-party-src/" "${patched_src_dir}"
24+
rsync -a "third-party-src/" "${patched_src_dir}"
2525

2626
echo "Applying base patches"
2727
pushd "${patched_src_dir}"
2828
quilt push -a
2929
popd
3030

3131
echo "Applying overrides"
32-
rsync -a "${code_editor_module_path}/overrides/" "${patched_src_dir}"
32+
rsync -a "overrides/" "${patched_src_dir}"
3333

3434
echo "Zipping patched source"
3535
tar -chzvf "patched_source.tar.gz" $patched_src_dir

0 commit comments

Comments
 (0)