Skip to content

Commit

Permalink
Update make.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
szepeviktor committed Sep 3, 2014
1 parent f28929a commit 8db7835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ echo "optimization level is $opt"
cat $@ | sed -e "s:\/\*==::g" -e "s:==\*\/::g" > "$tmpfile"

# get version number
CURLJS_VERSION=$(sed -n "s|.*version\s*=\s*['\"]\([^'\"]*\)['\"].*|\1|p" < ../src/curl.js)
CURLJS_VERSION=$(sed -n "s|.*version.*\(['\"]\)\([^'\"]*\)\1.*|\2|p" < ../src/curl.js)

# prepend valid version number
if [ -z "${CURLJS_VERSION//[0-9.]/}" ] && ! [ -z "$CURLJS_VERSION" ]; then
Expand Down

0 comments on commit 8db7835

Please sign in to comment.