advertisement

Article:
  Build Your Own Blogging Application, Part 2
Subject:   Script updateBlog.sh
Date:   2004-12-19 19:20:34
From:   manuelderieux
Response to: Script updateBlog.sh

I get the following errors:


./updateBlog.sh: line 13: processImages.pl: command not found
./updateBlog.sh: line 17: postEntry.pl: command not found
./updateBlog.sh: line 13: processImages.pl: command not found
./updateBlog.sh: line 17: postEntry.pl: command not found
while executing
"exec ./updateBlog.sh"
(procedure "WriteToBlog" line 7)
invoked from within
"WriteToBlog"
(procedure "WriteToBlogQuit" line 2)
invoked from within
"WriteToBlogQuit"
(menu invoke)


Here's my updateBlog.sh:


#!/bin/bash
#Glue for the perl scripts



#configuration settings
export BLOG_PATH=/Manuel
export BLOG_PAGE=sampleFormat.html
export BLOG_ENTRY=newentry



#update the image tags in file 'newentry' and
#copy the image files to the iDisk
./processImages.pl $BLOG_ENTRY $BLOG_PATH



#execute the read.pl script and pass args.
./postEntry.pl $BLOG_PATH/$BLOG_PAGE


Any help would be appreciated


1 to 1 of 1
  1. Matthew Russell photo Script updateBlog.sh
    2004-12-19 19:32:51  Matthew Russell | O'Reilly AuthorO'Reilly Blogger [View]

    • Script updateBlog.sh
      2004-12-20 07:50:40  manuelderieux [View]

1 to 1 of 1