hugosoucycc

[ARCHIVED] Another old source code of <hugo.soucy.cc>.
Log | Files | Refs | Submodules

commit bb663bc321b7796b4535c60f1f8319c4a1277c94
parent 2e6b48ae6ddd49ddf750a12b2599ac21d1133560
Author: Hugo Soucy <hugo@soucy.cc>
Date:   Tue,  6 Jun 2017 21:14:32 -0400

Add a new shebang in utility scripts

Diffstat:
Mhttpd | 8+++++---
Mmanuelfile | 2+-
Mposse | 2+-
Mpreprocess_css | 2+-
Mpreprocess_javascript | 2+-
5 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/httpd b/httpd @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Open the developpement URL in $BROWSER # Start the developpement Web server @@ -11,9 +11,11 @@ . config/app.cfg if hash darkhttpd 2>/dev/null; then - "$BROWSER" "$SITE_URL_DEV" && + #"$(firefox)" "$SITE_URL_DEV" && - darkhttpd "$TMP_PATH/$PUBLICHTML/" --port "$SITE_PORT_DEV" + darkhttpd "$TMP_PATH/$PUBLICHTML" --port "$SITE_PORT_DEV" + # echo "$TMP_PATH/$PUBLICHTML/" + # echo "$SITE_PORT_DEV" else echo "- Sorry But You must Install *darkhttpd*." diff --git a/manuelfile b/manuelfile @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # Dependencies : # - https://github.com/ShaneKilkelly/manuel diff --git a/posse b/posse @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # https://indieweb.org/POSSE diff --git a/preprocess_css b/preprocess_css @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # CSS Preprocessing Script diff --git a/preprocess_javascript b/preprocess_javascript @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash # JavaScript Preprocessing Script