[Slackbuilds-users] Github file name issue

Philip Lacroix philnx at posteo.de
Mon May 25 22:51:07 UTC 2015


Am 25.05.2015 16:52 schrieb Ryan P.C. McQuen:
> I use:
> 
> if [ -e $CWD/$VERSION.tar.gz ]; then
>   tar xvf $CWD/$VERSION.tar.gz
> else
>   tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
> fi
> 
> So that a 'no such file or directory' warning won't get displayed.

Yeah, that's exactly what I've been doing in my scripts as well, after I 
realized there was an issue with GitHub's file naming. :)

Cheers,
Philip


More information about the SlackBuilds-users mailing list