scripting woes - invoking scripts
Here's the background. I have a full install of Slackware 10 on one partition, and am using it to build a Linux From Scratch system on another partition. I'm using the how-to from the Linux Documentation Project.
I'm trying to compile bash, and am having trouble getting the configure script to run. Here's what I get when I try to run configure:
-bash: ./configure: /bin/sh: bad interpreter: permission denied
Here's why I'm so befuddled:
* configure is flagged as an executable
* the script starts with #!/bin/sh
* /bin/sh is a symlink to /bin/bash
* all the permissions are correct for sh, bash and configure
I've written my own little test scripts and run them from the same directory without any problem. I can get configure to run by using 'source' or '.' but get other errors, which I will tackle later.
Why do some scripts seem to insist that I use 'source' or '.', and others run just fine?
Last edited by Pestossimo; 07-19-2005 at 03:16 PM.