fix it
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-extract_file?expand=0&rev=6
This commit is contained in:
parent
59c584811f
commit
e518ea9025
@ -46,10 +46,11 @@ if [ -z "$MYOUTDIR" ]; then
|
|||||||
echo "ERROR: no output directory is given via --outdir parameter!"
|
echo "ERROR: no output directory is given via --outdir parameter!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
set -x
|
||||||
|
|
||||||
|
existing_archive="$PWD/$(echo $MYARCHIVE)"
|
||||||
cd "$MYOUTDIR"
|
cd "$MYOUTDIR"
|
||||||
|
|
||||||
existing_archive=$(echo $MYARCHIVE)
|
|
||||||
if [ -e "$existing_archive" ]; then
|
if [ -e "$existing_archive" ]; then
|
||||||
if [ "${existing_archive%.tar.gz}" != "$existing_archive" ]; then
|
if [ "${existing_archive%.tar.gz}" != "$existing_archive" ]; then
|
||||||
tar xfz "$existing_archive" --wildcards $MYFILES || exit 1
|
tar xfz "$existing_archive" --wildcards $MYFILES || exit 1
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 10 10:02:43 UTC 2011 - adrian@suse.de
|
||||||
|
|
||||||
|
- fix getting input file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Apr 27 21:36:13 UTC 2011 - dibo@users.sourceforge.net
|
Wed Apr 27 21:36:13 UTC 2011 - dibo@users.sourceforge.net
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user