fix (#2943)
This commit is contained in:
parent
402548f757
commit
ec1145db47
|
@ -34,7 +34,7 @@ for c in $CONNECTORS; do
|
|||
exit 1;
|
||||
fi
|
||||
echo "IMG "$IMG
|
||||
if [ $IMG ]; then
|
||||
if [ "$IMG" != "null" ]; then
|
||||
cp $(dirname $c)/$IMG $DIR
|
||||
fi
|
||||
ls $DIR
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
DIR=$(cd -P -- "$(dirname -- "$0")" && pwd -P)"/"
|
||||
TEXT=$(sed -e "/\/\/\/DATA\/\/\//{a \ \`$1\ \`,\n///DATA///" -e "d}" $2)
|
||||
TEXT=$(sed -e "/\/\/\/DATA\/\/\//{a \ \`$(echo ${1//\//\\/} | tr -d '\n')\ \`,\n///DATA///" -e "d}" $2)
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "Error in append.sh"
|
||||
exit 1;
|
||||
|
|
Loading…
Reference in New Issue