Skip to content

Commit

Permalink
Merge pull request #20 from amiaopensource/style
Browse files Browse the repository at this point in the history
style
  • Loading branch information
dericed authored Oct 2, 2017
2 parents e012939 + 1d2c924 commit 12cfe3a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rs_search
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
SCRIPTDIR="$(dirname "$0")"
#!/usr/bin/env bash

SCRIPTDIR=$(dirname "${0}")
CONF_FILE="${SCRIPTDIR}/pbpro.conf"
. "${CONF_FILE}" || { echo "Missing ${CONF_FILE}. Exiting." ; exit 1 ;};
. "${CONF_FILE}" || { echo "Missing ${CONF_FILE}. Exiting." ; exit 1 ; }

_search_by_id(){
query="user=${user}&function=do_search&param1=${1}&param2=&param3=resourceid&param4=0"
Expand Down

0 comments on commit 12cfe3a

Please sign in to comment.