mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 21:20:07 -05:00
exclude debian folder from tarball
This commit is contained in:
parent
85ba79c861
commit
edf81fbe51
@ -75,6 +75,7 @@ fi
|
|||||||
# FIXME: somehow it didn't ignore the 'Bin' folder.
|
# FIXME: somehow it didn't ignore the 'Bin' folder.
|
||||||
|
|
||||||
tar --exclude='package-linux.sh' \
|
tar --exclude='package-linux.sh' \
|
||||||
|
--exclude='debian' \
|
||||||
--exclude='Bin' \
|
--exclude='Bin' \
|
||||||
--exclude-vcs \
|
--exclude-vcs \
|
||||||
--exclude-vcs-ignores \
|
--exclude-vcs-ignores \
|
||||||
@ -83,16 +84,15 @@ tar --exclude='package-linux.sh' \
|
|||||||
|
|
||||||
[ $? -ne 0 ] && echo "Tar command failed." && exit 2
|
[ $? -ne 0 ] && echo "Tar command failed." && exit 2
|
||||||
|
|
||||||
# TODO: find the option to specify single binary, so the question can be skipped.
|
cd "$PPA_DIR"
|
||||||
|
bzr dh-make $PROJECT $VERSION $TAR_NAME
|
||||||
cd "$PPA_DIR" &&\
|
|
||||||
bzr dh-make $PROJECT $VERSION $TAR_NAME &&\
|
|
||||||
cd fractorium/debian &&\
|
|
||||||
rm *.ex *.EX README.Debian README.source &&\
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
[ $? -ne 0 ] && echo "bzr dh-make command failed." && exit 2
|
[ $? -ne 0 ] && echo "bzr dh-make command failed." && exit 2
|
||||||
|
|
||||||
|
rm "$PPA_DIR/fractorium/debian" -r
|
||||||
|
cp -R "$PROJECT_ROOT/debian" "$PPA_DIR/fractorium"
|
||||||
|
|
||||||
|
cd "$PPA_DIR/fractorium" &&\
|
||||||
bzr add . &&\
|
bzr add . &&\
|
||||||
bzr commit -m "Debian package $VERSION"
|
bzr commit -m "Debian package $VERSION"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user