cute special case
This commit is contained in:
parent
92b2f24e96
commit
925fe9734c
|
@ -19,7 +19,12 @@ pwd
|
||||||
echo -e "\nUploading .ini files"
|
echo -e "\nUploading .ini files"
|
||||||
ls -l .
|
ls -l .
|
||||||
|
|
||||||
echo "[upload_ini] Looking for signature in $fileName..."
|
if [ "$fileName" == "no" ]; then
|
||||||
|
echo "[upload_ini] signature file not needed"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
echo "[upload_ini] Looking for signature in [$fileName]..."
|
||||||
sig=$(grep "^\s*signature\s*=" $fileName | cut -f2 -d "=")
|
sig=$(grep "^\s*signature\s*=" $fileName | cut -f2 -d "=")
|
||||||
if [ ! -z "$sig" -a "$sig" != " " ]; then
|
if [ ! -z "$sig" -a "$sig" != " " ]; then
|
||||||
echo "* found signature: $sig"
|
echo "* found signature: $sig"
|
||||||
|
|
Loading…
Reference in New Issue