Skip to content

Commit f8afbcf

Browse files
Fix modify script
1 parent 389371c commit f8afbcf

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

travis-ci/modify-globalblacklist.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ _inputdbB=$TRAVIS_BUILD_DIR/gentime.db
1212

1313
# Declare Nginx template and temp variables
1414
_nginx=$TRAVIS_BUILD_DIR/globalblacklist.conf
15-
_tmpnginxA=tmpnginxA
16-
_tmpnginxB=tmpnginxB
15+
_tmpnginxA=$TRAVIS_BUILD_DIRtmpnginxA
16+
_tmpnginxB=$TRAVIS_BUILD_DIRtmpnginxB
1717

1818
# Start and End Strings to Search for to do inserts into template
1919
_startdate="### Last Updated"
@@ -27,8 +27,7 @@ LASTUPDATEIFS=$IFS
2727
IFS=$'\n'
2828
now="$(date)"
2929
echo $_startdate >> $_tmpnginxA
30-
printf "### Updated: "$now"\n" >> $_tmpnginxA
31-
printf "### Build: "$GIT_TAG"\n" >> $_tmpnginxA
30+
printf "### Updated: "$now"\n ### Build: "$GIT_TAG"\n" >> $_tmpnginxA
3231
echo $_enddate >> $_tmpnginxA
3332
IFS=$LASTUPDATEIFS
3433
mv $_tmpnginxA $_inputdbA

0 commit comments

Comments
 (0)