cleanup also main dir when using subdir
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=9
This commit is contained in:
parent
f5575d6a11
commit
74a4e0a9d1
2
tar_scm
2
tar_scm
@ -229,6 +229,6 @@ fi
|
|||||||
mv "$FILE/$MYSUBDIR" "${FILE}-${VERSION}" || exit 1
|
mv "$FILE/$MYSUBDIR" "${FILE}-${VERSION}" || exit 1
|
||||||
|
|
||||||
tar cf "$MYOUTDIR/${FILE}-${VERSION}.tar" $EXCLUDES "${FILE}-${VERSION}" || exit 1
|
tar cf "$MYOUTDIR/${FILE}-${VERSION}.tar" $EXCLUDES "${FILE}-${VERSION}" || exit 1
|
||||||
rm -rf "${FILE}-${VERSION}"
|
rm -rf "${FILE}-${VERSION}" "$FILE"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
Reference in New Issue
Block a user