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!"
|
||||
exit 1
|
||||
fi
|
||||
set -x
|
||||
|
||||
existing_archive="$PWD/$(echo $MYARCHIVE)"
|
||||
cd "$MYOUTDIR"
|
||||
|
||||
existing_archive=$(echo $MYARCHIVE)
|
||||
if [ -e "$existing_archive" ]; then
|
||||
if [ "${existing_archive%.tar.gz}" != "$existing_archive" ]; then
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user