We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a11974 commit 27cae22Copy full SHA for 27cae22
1 file changed
build.sh
@@ -37,21 +37,21 @@ get() {
37
}
38
39
build() {
40
- cd "${d_src}/_build" || exit 1
41
- ${debuild} -us -uc -i -d -S && cd .. || exit 1
+ pushd "${d_src}/_build" || exit 1
+ ${debuild} -us -uc -i -d -S && popd || exit 1
42
43
44
move() {
45
for i in _service README.md LICENSE *.tar.* *.dsc *.build *.buildinfo *.changes; do
46
${rm} -fv "${d_dst}/${i}"
47
- ${mv} -fv "${i}" "${d_dst}" || exit 1
+ ${mv} -fv "${d_src}/${i}" "${d_dst}/" || exit 1
48
done
49
50
51
push() {
52
ts="$( _timestamp )"
53
54
- cd "${d_dst}" || exit 1
+ pushd "${d_dst}/" || exit 1
55
${git} add . && ${git} commit -a -m "BUILD: ${ts}" && ${git} push
56
57
0 commit comments