You are not logged in.
does shopt work in pkgbuilds as i am using the "shopt -s extglob" command along with " cp -r !(dictionaries|en.mse-locale|ru.mse-locale) "$pkgdir/usr/share/magicseteditor/data" " to separate some files from the cp but when i run the build i get " line 27: syntax error near unexpected token `(' "
Offline
Where do you set 'shopt -s extglob'? it doesn't work if it's set inside 'package()', but it works if set outside.
I have not idea if using shopt is considered good/bad practice, but a couple of official packages use it, eg, python, python-pip, ghc. (though I've been told that official PKGBUILD don't always follow good practice )
Offline