Skip to content

Commit

Permalink
Don't use quote on paths with matchers, doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerom committed Dec 13, 2016
1 parent ae29612 commit ed1f856
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/prepare_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,15 @@ check_process "switch to master"

echo "# Removing the assets"
[ ! -d "$VENDOR_DIR" ] && mkdir -p $VENDOR_DIR
[ -d "$VENDOR_DIR" ] && rm -rf "$VENDOR_DIR/*"
[ -d "$VENDOR_DIR" ] && rm -rf $VENDOR_DIR/*
check_process "clean the vendor dir $VENDOR_DIR"

echo "# Bower install"
bower install
check_process "run bower"

echo "# Removing, docs, API docs and tests from YUI"
rm -rf "$YUI3_DIR/api" "$YUI3_DIR/docs" "$YUI3_DIR/tests" "$YUI3_DIR/build/*/*-coverage.js" "$YUI3_DIR/build/*/*-debug.js"
rm -rf "$YUI3_DIR/api" "$YUI3_DIR/docs" "$YUI3_DIR/tests" $YUI3_DIR/build/*/*-coverage.js $YUI3_DIR/build/*/*-debug.js
check_process "clean YUI"
echo "This is a customized YUI3 version." > $YUI3_NOTICE
echo "To decrease the size of the bundle, it does not include the API docs," >> $YUI3_NOTICE
Expand Down

0 comments on commit ed1f856

Please sign in to comment.