Skip to content

Commit

Permalink
Update shebang comment to be more portable
Browse files Browse the repository at this point in the history
  • Loading branch information
benlinton committed Apr 13, 2013
1 parent 8e140f6 commit 573b24e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions slugify
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#!/usr/bin/env bash
#: Name : slugify
#: Date : 2012-05-09
#: Date : 2012-05-01
#: Author : "Benjamin Linton" <developer@benlinton.com>
#: Version : 1.0.0
#: Description : Convert filenames into a web friendly format.
Expand Down Expand Up @@ -60,7 +60,7 @@ if [[ ! -n "$1" ]]; then
exit 0
fi

# Identify case insensitive filesystems
## Identify case insensitive filesystems
case_sensitive_filesystem=1
case $OSTYPE in
darwin*) case_sensitive_filesystem=0 ;; # OS X
Expand Down Expand Up @@ -144,4 +144,3 @@ done
if [ $dry_run -eq 1 ]; then
echo "--- End dry run mode."
fi

0 comments on commit 573b24e

Please sign in to comment.