I suppose that it had to happen eventually... these packages need Bash 4.x to compile. The scripts use some features that are not supported in the Bash version used in Puppy. For example:
for arg in "$@"; do
case "$arg" in
--mode=compile) modeok=true ;;
--tag=CC|--tag=CXX) tagok=true ;;
In the Quirky repo at ibiblio.org there is a 'bash4-4.1-q1.pet' package, that I installed, and renamed /bin/bash4 to /bin/bash. This is not a permanent upgrade for Quirky, just for compiling these packages.
Well, I guess that we will have to "bite the bullet" soon, and upgrade all of our scripts to work with bash 4.1.
So, if you are a developer and responsible for any Bash scripts, install my PET and test your script. I will be upgrading to Bash 4.1 sometime in the not to distant future.
Comments:Posted on 21 Jun 2010, 23:39 by zigbert
I have installed your bash4 pack, and will check my scripts. At first look, everything seems normal.
Posted on 22 Jun 2010, 8:25 by BarryK
Don't forget that you have to manually rename /bin/bash4 to /bin/bash.
Posted on 22 Jun 2010, 17:59 by zigbert