Code Monkey home page Code Monkey logo

drupal-bootstrap-sass's People

Contributors

sobi3ch avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

drupal-bootstrap-sass's Issues

Syntax error in awk file

When running get-tag.awk, I get the following error:
/bin/sh: 1: Syntax error: "|" unexpected

Apparently, awk (Debian jessie, mawk v 1.3.3-17) does not like the pipe in the while() call, despite it being double quotes.

The following patch fixed this for me:

diff --git a/get-tag.awk b/get-tag.awk
index 6da90f6..0be56b4 100755
--- a/get-tag.awk
+++ b/get-tag.awk
@@ -1,12 +1,12 @@
 #!/usr/bin/awk -f
 BEGIN {
   FS = "[ /^]+"
-  while ("git ls-remote " ARGV[1] "| sort -Vk2" | getline) {
+  while (("git ls-remote " ARGV[1] "| sort -Vk2") | getline) {
     if (!sha)
       sha = substr($0, 1, 7)
     tag = $3
   }
-  while ("curl -s " ARGV[1] "/releases/tag/" tag | getline)
+  while (("curl -s " ARGV[1] "/releases/tag/" tag) | getline)
     if ($3 ~ "commits")
       com = $2
   printf com ? "%s-%s-g%s\n" : "%s\n", tag, com, sha

Apologies for not submitting a proper patch, I'm currently not on my dev machine

Version 3.1

From November 9 there are new Drupal 7 boostrap theme 7.x-3.1 (Currently script working only for 7.x-3.0). File structure has change enough to broke script from working, so there need to be done some work to fix this.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.