-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathnewAntlr
executable file
·21 lines (18 loc) · 1.26 KB
/
newAntlr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
sufx=$(date +%Y%m%d%H%M%S)
cp --no-clobber ~/Downloads/antlr-4.13.2-complete.jar cobol/
cp --no-clobber ~/Downloads/antlr-4.13.2-complete.jar db2z/
cp --no-clobber ~/Downloads/antlr-4.13.2-complete.jar jcl/
cp --no-clobber ~/Downloads/antlr-4.13.2-complete.jar cics/
cp --no-clobber ~/Downloads/antlr-4.13.2-complete.jar dli/
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' cobol/manifest
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' jcl/manifest
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' cobol/Makefile
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' db2z/Makefile
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' jcl/Makefile
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' cics/Makefile
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' dli/Makefile
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' db2z/src/tester
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' jcl/src/tester
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' cics/src/tester
sed -i.${sufx} 's/antlr-4.13.1-complete.jar/antlr-4.13.2-complete.jar/' dli/src/tester