CR/LF to LF in script files
This commit is contained in:
@@ -86,7 +86,7 @@ if [ "$COPYFILES" == "yes" ]; then
|
||||
fi
|
||||
|
||||
if [ "$1" == "frontend" ]; then
|
||||
echo "moving user-configurable files to /etc/swarmops/..."
|
||||
echo "Moving user-configurable files to /etc/swarmops/..."
|
||||
mkdir -p etc/swarmops
|
||||
mv $DEPLOYDIR/$TARGETDIR/machineKey.config etc/swarmops/.
|
||||
sed -i 's/\"machineKey.config\"/\"..\/..\/..\/..\/etc\/swarmops\/machineKey.config\"/g' $DEPLOYDIR/$TARGETDIR/web.config
|
||||
@@ -123,6 +123,10 @@ else
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Converting possible CRLF line endings in scripts to LF-only..."
|
||||
dos2unix DEBIAN/*
|
||||
dos2unix etc/init.d/*
|
||||
|
||||
echo "Setting build number ($(cat ../$BUILDIDSOURCE | tr -d ' \r'))..."
|
||||
sed -i "s/--BuildNumber--/$(cat ../$BUILDIDSOURCE | tr -d ' \r')/" DEBIAN/control
|
||||
|
||||
|
||||
Reference in New Issue
Block a user