projects
/
platform
/
upstream
/
gcc48.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
set gcc_dir_version
[platform/upstream/gcc48.git]
/
packaging
/
pre_checkin.sh
1
#!/bin/bash
2
# This script is called automatically during autobuild checkin.
3
4
case $0 in
5
\./*)
6
here=$PWD
7
;;
8
*/*)
9
here=${0%/*}
10
;;
11
*)
12
here=$PWD
13
;;
14
esac
15
case ${here##*/} in
16
gcc-*)
17
suffix=${here##*/}
18
set ${suffix#*-}-
19
;;
20
gcc[0-9]*)
21
suffix=${here##*/}
22
set ${suffix#gcc}
23
;;
24
esac
25
. ${here}/change_spec