Skip to content

Commit

Permalink
Remove the shackles of enforced file extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
neonichu committed Apr 3, 2015
1 parent ba4475f commit a792bda
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/cato
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ else
SCRIPT="$1"
fi

if [ ! -f "$SCRIPT" ] || [[ "$SCRIPT" != *swift ]]
if [ ! -f "$SCRIPT" ]
then
echo "Usage: $0 [SWIFT-VERSION] SCRIPT"
exit 1
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#/bin/sh

export PATH="`dirname $0`/bin:$PATH"
./test/1.swift
./test/1
File renamed without changes.

0 comments on commit a792bda

Please sign in to comment.