Skip to content

Commit

Permalink
Update variable names for ash update
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonRomano committed Feb 25, 2016
1 parent da20763 commit b6980ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion callable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ Slugify__callable_main(){
# Prints out usage of this module
#################################################
Slugify__callable_help(){
more "$Ash__active_module_directory/HELP.txt"
more "$Ash__ACTIVE_MODULE_DIRECTORY/HELP.txt"
}
5 changes: 3 additions & 2 deletions lib/slugify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ Slugify_lowercase() {
Slugify_alpha_numeric(){
# Determining flag for extended regex
local sed_flag="-r"
if [[ "$Ash__active_platform" = "$Ash__PLATFORM_FREEBSD"
|| "$Ash__active_platform" = "$Ash__PLATFORM_DARWIN" ]]; then
local platform="$(Ash__get_active_platform)"
if [[ "$platform" = $Ash__PLATFORM_FREEBSD
|| "$platform" = $Ash__PLATFORM_DARWIN ]]; then
sed_flag="-E"
fi

Expand Down

0 comments on commit b6980ac

Please sign in to comment.