Skip to content

Commit

Permalink
Copy environment.fish only for system-resources package
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed May 15, 2024
1 parent 1660fe1 commit a2963d2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion default/rules/resources-min.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
Target(
name = 'system-resources-min',
sources = [ ],
patches = [ 'fonts.conf.template', 'win-launcher.c', 'environment', 'environment.fish', 'environment.bat', 'start.bat', 'cacert.pem', 'tabbyadm' ],
patches = [ 'fonts.conf.template', 'win-launcher.c', 'environment', 'environment.bat', 'start.bat', 'cacert.pem', 'tabbyadm' ],
tools = {},
)
2 changes: 1 addition & 1 deletion default/rules/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
Target(
name = 'system-resources-tabby',
sources = [ ],
patches = [ 'fonts.conf.template', 'win-launcher.c', 'environment', 'environment.fish', 'environment.bat', 'start.bat', 'cacert.pem', 'tabbyadm' ],
patches = [ 'fonts.conf.template', 'win-launcher.c', 'environment', 'environment.bat', 'start.bat', 'cacert.pem', 'tabbyadm' ],
tools = {},
)
5 changes: 5 additions & 0 deletions default/scripts/system-resources.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
source ${WORK_DIR}/default/scripts/system-resources-tabby.sh

if [ ${ARCH_BASE} == 'linux' ]; then
cp ${PATCHES_DIR}/environment.fish ${OUTPUT_DIR}${INSTALL_PREFIX}/.
cp -rv /usr/lib/${CROSS_NAME}/libdl.so.2 ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/.
cp -rv /usr/lib/${CROSS_NAME}/libpthread.so.0 ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/.
cp -rL /usr/lib/${CROSS_NAME}/libGLX_*.so.0 ${OUTPUT_DIR}${INSTALL_PREFIX}/lib/.
Expand Down Expand Up @@ -77,3 +78,7 @@ if [ ${ARCH} == 'linux-arm64' ]; then
popd
fi
fi

if [ ${ARCH_BASE} == 'darwin' ]; then
cp ${PATCHES_DIR}/environment.fish ${OUTPUT_DIR}${INSTALL_PREFIX}/.
fi

0 comments on commit a2963d2

Please sign in to comment.