Skip to content

Commit

Permalink
Fixed a warning from perl on newer versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 3, 2014
1 parent c841475 commit 782bdd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/build-example.sh
Expand Up @@ -113,7 +113,7 @@ fi
cd "$BASEDIR"

# this is a little nasty, but it works!
TOTALINSTALL=`du -sb data |perl -w -pi -e 's/\A(\d+)\s+data\Z/$1/;'`
TOTALINSTALL=`du -sb data |perl -w -p -e 's/\A(\d+)\s+data\Z/$1/;'`
perl -w -pi -e "s/\A\s*(local TOTAL_INSTALL_SIZE)\s*\=\s*\d+\s*;\s*\Z/\$1 = $TOTALINSTALL;\n/;" scripts/config.lua

# Clean up previous run, build fresh dirs for Base Archive.
Expand Down

0 comments on commit 782bdd8

Please sign in to comment.