#10 Non-portable shell script

open
nobody
None
5
2004-08-12
2004-08-12
No

The shell script jspider.sh is not portable. Using
export VARIABLE=
and
export VARIABLE=value
only works in bash. Since bash is not /bin/sh on all
systems (really, i think Linux is the only system for
which that is true), the shell script doesn't work
everywhere. The fix is easy:
unset VARIABLE
VARIABLE=value
export VARIABLE

Discussion