Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeya committed Jul 27, 2024
1 parent 2c86268 commit 4e6f28e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build_packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ build_rpm() {
fi
mkdir nimf
# Copy all contents except the build directory
VER=$(grep "^Version:" ${SPEC_FILE} | awk '{print $2}')
cp -r ${NIMF_SRC}/!(build) nimf/
tar -czf nimf-1.3.8.tar.gz -C "${SOURCES_DIR}" nimf
tar -czf nimf-${VER}.tar.gz -C "${SOURCES_DIR}" nimf

# Return to the project root directory
cd "${PROJECT_ROOT}"
Expand Down

0 comments on commit 4e6f28e

Please sign in to comment.