File tree 1 file changed +16
-16
lines changed
1 file changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -5,22 +5,22 @@ echo `date` > $logfile
5
5
# sudo apt-get install php5-curl
6
6
# composer install
7
7
8
- echo SKIP Getting latest XSD
9
- # XSDURL=https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd
10
- # if [ -f AnetApiSchema.xsd ]; then
11
- # echo "Renaming existing schema file"
12
- # mv AnetApiSchema.xsd AnetApiSchema.xsd.old
13
- # fi
14
- # wget $XSDURL 1>> $logfile 2>&1
15
- # ERRORCODE=$?
16
- # if [ $ERRORCODE -ne 0 ];then
17
- # echo "Unable to download XSD from $XSDURL"
18
- # exit $ERRORCODE
19
- # fi
20
- # if [ ! -f AnetApiSchema.xsd ]; then
21
- # echo "SchemaFile not found"
22
- # exit 1
23
- # fi
8
+ echo Getting latest XSD
9
+ XSDURL=https://apitest.authorize.net/xml/v1/schema/AnetApiSchema.xsd
10
+ if [ -f AnetApiSchema.xsd ]; then
11
+ echo " Renaming existing schema file"
12
+ mv AnetApiSchema.xsd AnetApiSchema.xsd.old
13
+ fi
14
+ wget $XSDURL 1>> $logfile 2>&1
15
+ ERRORCODE=$?
16
+ if [ $ERRORCODE -ne 0 ]; then
17
+ echo " Unable to download XSD from $XSDURL "
18
+ exit $ERRORCODE
19
+ fi
20
+ if [ ! -f AnetApiSchema.xsd ]; then
21
+ echo " SchemaFile not found"
22
+ exit 1
23
+ fi
24
24
25
25
# create directories that do not exist
26
26
apidir=lib/net/authorize/api/contract/v1
You can’t perform that action at this time.
0 commit comments