flg.flp.sh (b137417950aaf74d9c4ef33b1176e9be3d517e29) | flg.flp.sh (9af2fe54f8c88dab86a1d030628fc4a88b12da0f) |
---|---|
1#! /bin/ksh -p 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License (the "License"). 7# You may not use this file except in compliance with the License. 8# --- 169 unchanged lines hidden (view full) --- 178 179which_scm | read SCM_MODE CODEMGR_WS || exit 1 180 181if [[ $SCM_MODE == "unknown" ]]; then 182 fail "Unable to determine SCM type currently in use." 183elif [[ $SCM_MODE == "mercurial" ]]; then 184 FILELIST=$(hg manifest) 185elif [[ $SCM_MODE == "git" ]]; then | 1#! /bin/ksh -p 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License (the "License"). 7# You may not use this file except in compliance with the License. 8# --- 169 unchanged lines hidden (view full) --- 178 179which_scm | read SCM_MODE CODEMGR_WS || exit 1 180 181if [[ $SCM_MODE == "unknown" ]]; then 182 fail "Unable to determine SCM type currently in use." 183elif [[ $SCM_MODE == "mercurial" ]]; then 184 FILELIST=$(hg manifest) 185elif [[ $SCM_MODE == "git" ]]; then |
186 FILELIST=$(cd $(dirname $(git rev-parse --git-dir)) && git ls-files) | 186 FILELIST=$(cd $(git rev-parse --show-toplevel) && git ls-files) |
187elif [[ $SCM_MODE != "teamware" ]]; then 188 fail "Unsupported SCM in use: $SCM_MODE" 189fi 190 191while getopts r flag; do 192 case $flag in 193 r) 194 RELPATHS=y --- 67 unchanged lines hidden --- | 187elif [[ $SCM_MODE != "teamware" ]]; then 188 fail "Unsupported SCM in use: $SCM_MODE" 189fi 190 191while getopts r flag; do 192 case $flag in 193 r) 194 RELPATHS=y --- 67 unchanged lines hidden --- |