did not work in bash
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-03-08 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/transformations/*.sh: did not work in bash
|
||||
|
||||
2003-03-07 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* transformation_wrapper.php3, lang/*,
|
||||
libraries/transformations/image_jpeg__inline.inc.php3:
|
||||
|
@@ -15,13 +15,12 @@ then
|
||||
echo ""
|
||||
exit 65
|
||||
fi
|
||||
|
||||
functionupper="`echo $2 | tr [:lower:] [:upper:]`"
|
||||
functionlower="`echo $2 | tr [:upper:] [:lower:]`"
|
||||
|
||||
cat $1 | sed "s/\[ENTER_FILENAME_HERE\]/$functionupper/" | sed "s/\[enter_filename_here\]/$functionlower/" >> $2.inc.php3
|
||||
|
||||
if [ $3 ]
|
||||
if [ "$3" ]
|
||||
then
|
||||
echo ""
|
||||
echo "DEBUG/TODO: Call"
|
||||
|
@@ -18,6 +18,8 @@ then
|
||||
exit 65
|
||||
fi
|
||||
|
||||
./generator.sh 'TEMPLATE' '$1'
|
||||
|
||||
|
||||
./generator.sh 'TEMPLATE' "$1" "$2"
|
||||
echo " "
|
||||
echo "New TRANSFORM FUNCTION $1.inc.php3 added."
|
||||
|
@@ -15,6 +15,6 @@ then
|
||||
exit 65
|
||||
fi
|
||||
|
||||
./generator.sh 'TEMPLATE_MIMETYPE' '$1'
|
||||
./generator.sh 'TEMPLATE_MIMETYPE' "$1"
|
||||
echo " "
|
||||
echo "New MIMETYPE $1.inc.php3 added."
|
||||
|
Reference in New Issue
Block a user