Skip to content

Commit

Permalink
WDL: add swell/swell_resgen.sh helper script -- from 3f683004
Browse files Browse the repository at this point in the history
  • Loading branch information
Cockos Inc authored and Justin Frankel committed Feb 13, 2022
1 parent 4acb00d commit fa5e387
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions WDL/swell/swell_resgen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

DIR="$(dirname $0)"
if [ "v$DIR" = "v" ]; then DIR=. ; fi

if [ -x /usr/bin/php ]; then EXE=/usr/bin/php
elif [ -x /opt/homebrew/bin/php ]; then EXE=/opt/homebrew/bin/php
else EXE=php ; fi

$EXE "$DIR/swell_resgen.php" $*

0 comments on commit fa5e387

Please sign in to comment.