Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
Preserve escape characters on makeDeb.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SokoloffA committed Jan 30, 2013
1 parent 2bd5c25 commit 4d089da
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions distr/deb/makeDeb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Options
-o|--outdirt=DIR write result to DIR, home directory by default
-r|--release=RELEASE release name (sid, squeeze, testing, maveric, natty etc.), autodetect if ommited
-d|--distrib=DISTRIB distib type (Debian or Ubuntu), autodetect if ommited
--ver=VERSION razor version
--ver=VERSION package version
-S|--sign sign a result files
-s|--source build a source package, if ommited build a binary package
--debug debug mode not build package only create debian directory
Expand Down Expand Up @@ -88,7 +88,7 @@ token=''
line=''
function nextToken
{
while IFS='' read "line"; do
while IFS='' read -r "line"; do
token=`echo $line | awk '{print $1 }' | tr '[:lower:]' '[:upper:]'`
case $token in
%IF|%IFNOT|%ELSIF|%ELSEIF|%ELSE|%ENDIF|%SET)
Expand Down Expand Up @@ -116,7 +116,7 @@ function nextToken
function skipBlock
{
local level=0
while IFS='' read "line"; do
while IFS='' read -r "line"; do
token=`echo $line | awk '{print $1 }' | tr '[:lower:]' '[:upper:]'`
case $token in
%IF|%IFNOT)
Expand All @@ -142,7 +142,6 @@ function skipBlock
function processBlock
{
nextToken

while [ "$token" != "" ]; do
case $token in
%IF|%IFNOT)
Expand Down

0 comments on commit 4d089da

Please sign in to comment.