projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tasty renamings
[feisty_meow.git]
/
scripts
/
bookmarks
/
create_marks.sh
diff --git
a/scripts/bookmarks/create_marks.sh
b/scripts/bookmarks/create_marks.sh
index 40872bc3319e506513ddec63d5b9c8b148e9b382..ab9f266967e8d59d4c41b78f166622a85f8a4f42 100644
(file)
--- a/
scripts/bookmarks/create_marks.sh
+++ b/
scripts/bookmarks/create_marks.sh
@@
-1,9
+1,9
@@
#!/bin/bash
# this script rebuilds the bookmarks files. it requires the variables:
#!/bin/bash
# this script rebuilds the bookmarks files. it requires the variables:
-# WEB
_DIR
: points at the root of the web hierarchy.
+# WEB
BED_SITES
: points at the root of the web hierarchy.
-export GRUNTOSE_DIR=$WEB
_DIR
/gruntose.com
+export GRUNTOSE_DIR=$WEB
BED_SITES
/gruntose.com
rootname=$HOME/generated
suffix=.html
rootname=$HOME/generated
suffix=.html
@@
-21,25
+21,25
@@
if [ -f $newmarx ]; then rm $newmarx; fi
if [ -f $genlinx_js ]; then rm $genlinx_js; fi
if [ -f $genlinx_moz ]; then rm $genlinx_moz; fi
if [ -f $genlinx_js ]; then rm $genlinx_js; fi
if [ -f $genlinx_moz ]; then rm $genlinx_moz; fi
-$
PRODUCTION_DIR
/binaries/marks_sorter -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -o $newmarx
+$
RUNTIME_PATH
/binaries/marks_sorter -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -o $newmarx
if [ $? != 0 ]; then
echo error during sorting of the bookmarks.
exit 1
fi
if [ $? != 0 ]; then
echo error during sorting of the bookmarks.
exit 1
fi
-$
PRODUCTION_DIR
/binaries/marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/marks_template.html -o $genlinx -s human
+$
RUNTIME_PATH
/binaries/marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/marks_template.html -o $genlinx -s human
if [ $? != 0 ]; then
echo error during creation of the normal web page of bookmarks.
exit 1
fi
if [ $? != 0 ]; then
echo error during creation of the normal web page of bookmarks.
exit 1
fi
-$
PRODUCTION_DIR
/binaries/marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/marks_template.html -o $genlinx_moz -s mozilla
+$
RUNTIME_PATH
/binaries/marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/marks_template.html -o $genlinx_moz -s mozilla
if [ $? != 0 ]; then
echo error during creation of the mozilla format page of bookmarks.
exit 1
fi
if [ $? != 0 ]; then
echo error during creation of the mozilla format page of bookmarks.
exit 1
fi
-$
PRODUCTION_DIR
/binaries/js_marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/js_template.html -o $genlinx_js
+$
RUNTIME_PATH
/binaries/js_marks_maker -i $GRUNTOSE_DIR/Info/Twain/links_db.csv -t $GRUNTOSE_DIR/Info/Twain/js_template.html -o $genlinx_js
if [ $? != 0 ]; then
echo error during creation of the javascript bookmark page.
exit 1
if [ $? != 0 ]; then
echo error during creation of the javascript bookmark page.
exit 1