diff --git a/extract_file b/extract_file index 9b14220..80be1f5 100644 --- a/extract_file +++ b/extract_file @@ -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 diff --git a/obs-service-extract_file.changes b/obs-service-extract_file.changes index 9a075e8..6f2a9ee 100644 --- a/obs-service-extract_file.changes +++ b/obs-service-extract_file.changes @@ -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