[Slackbuilds-users] Updates - 20170624.1

Willy Sudiarto Raharjo willysr at slackbuilds.org
Sun Jun 25 05:05:57 UTC 2017


>> PRGNAM=youtube-dl
>> SRCNAM=$(echo $PRGNAM | tr - _)
>> .
>> .
>> tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
>>
> 
> And did you try downloading the tarball with every browser in
> existence? It sounds like some browsers may change the _ to a -, and
> then the SRCNAM variable will not match it.

if it's downloaded with "_", than tar will work without tr
if it's downloaded with "-", tr will convert to _ and tar will get the
results


-- 
Willy Sudiarto Raharjo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <https://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20170625/c52b2ac2/attachment.asc>


More information about the SlackBuilds-users mailing list