From 13fbfa14f5f26176902ef42c274a67fe76e3461e Mon Sep 17 00:00:00 2001 From: Ken Gorab Date: Fri, 1 Nov 2024 21:25:52 -0400 Subject: [PATCH] Use correct path when building compiler for packaging --- projects/compiler/scripts/generate-package.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/compiler/scripts/generate-package.sh b/projects/compiler/scripts/generate-package.sh index 1035153e..cdd92bae 100755 --- a/projects/compiler/scripts/generate-package.sh +++ b/projects/compiler/scripts/generate-package.sh @@ -27,17 +27,15 @@ if [ -d "$pkg_dir" ]; then fi mkdir "$pkg_dir" -abra build -o compiler ./src/compiler.test.abra +abra build -o compiler "$script_dir/../src/compiler.test.abra" cp ./._abra/compiler "$pkg_dir/compiler" cp "$script_dir/abraw" "$pkg_dir/abra" echo -n "$version" > "$pkg_dir/version" mkdir "$pkg_dir/include" -#cp "$script_dir/../../abra_llvm/ext/libgc/lib/libgc.a" "$pkg_dir/include/." cp "$script_dir/../ext/bdwgc/libgc.a" "$pkg_dir/include/." -#cp -r "$script_dir/../../abra_core/std" "$pkg_dir/std" cp -r "$script_dir/../../std" "$pkg_dir/std" cd "$pkg_dir"