harmonizing shebang for scripts
[feisty_meow.git] / scripts / core / variables.sh
index fb03b6cd9cf28523f1ebe6839805ed61af4b023b..c51490ba690cab30b890ae6e5337d15328c76dff 100644 (file)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 ##############
 
@@ -191,8 +191,9 @@ define_yeti_variable DEFAULT_FEISTYMEOW_ORG_DIR=/opt/feistymeow.org
   # variables for perl.
   
   if [[ $PERLLIB =~ .*$FEISTY_MEOW_SCRIPTS.* ]]; then
-#if debug!
-    echo skipping PERLLIB since already mentions feisty meow scripts.
+    if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then
+      echo skipping PERLLIB since already mentions feisty meow scripts.
+    fi
   else
     define_yeti_variable PERLLIB+="/usr/lib/perl5"
     if [ "$OS" == "Windows_NT" ]; then