[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: uscan for a single text file



On Monday, July 18 2016, Gianfranco Costamagna wrote:

>>Seriously, though.  I've also had to do a few modifications to the
>>get-orig-source.sh script, and you'll also need to run uscan with the
>>--no-symlink option, but this should work.  Oh, and you will also need
>>to specify downloadurlmangle like this:
>>
>>  opts="downloadurlmangle=s@(.*)@http:$1@" \
>>  http://download.virtualbox.org/virtualbox/([\d\.\-]+)/VBoxGuestAdditions_([\d\.\-]+).iso \
>>    debian /bin/sh debian/get-orig-source.sh
>
>
> I did this for virtualbox
> "downloadurlmangle=s/^/http:/"
>
> does this works too? I would like to keep it simple, or understand what it is doing :)

Sure!  Even better ;-).

>>if [ $# -ne 2 ]; then
>>  echo "Error: 3 parameters are required."
>>  exit 1
>>fi
>
>
> what is correct? 2 or 3?

Sorry, forgot to change the error message.  The correct is 2.

Cheers,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
http://sergiodj.net/


Reply to: