Overview
Comment: | Updated install-sh |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
d1a62f7c5dc8bf3e8b04b2af61cdb183 |
User & Date: | rkeene on 2014-07-05 00:03:53 |
Other Links: | manifest | tags |
Context
2014-07-05
| ||
00:04 | Updated MIPS test builds to be MUSL (static) based instead of uClibc check-in: 1ec331082c user: rkeene tags: trunk | |
00:03 | Updated install-sh check-in: d1a62f7c5d user: rkeene tags: trunk | |
2014-07-04
| ||
23:58 | Added Linux/MUSL support to our build platform check-in: 18d54c5945 user: rkeene tags: trunk | |
Changes
Modified kitsh/buildsrc/kitsh-0.0/install-sh from [6381bb24b0] to [06ee6336e6].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 | - + | #!/bin/sh # install - install a program, script, or datafile |
︙ | |||
152 153 154 155 156 157 158 159 160 161 162 163 164 165 | 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | + + + + | -o) chowncmd="$chownprog $2" shift;; -s) stripcmd=$stripprog;; -t) dst_arg=$2 # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac shift;; -T) no_target_directory=true;; --version) echo "$0 $scriptversion"; exit $?;; --) shift |
︙ | |||
182 183 184 185 186 187 188 189 190 191 192 193 194 195 | 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | + + + + | if test -n "$dst_arg"; then # $@ is not empty: it contains at least $arg. set fnord "$@" "$dst_arg" shift # fnord fi shift # arg dst_arg=$arg # Protect names problematic for `test' and other utilities. case $dst_arg in -* | [=\(\)!]) dst_arg=./$dst_arg;; esac done fi if test $# -eq 0; then if test -z "$dir_arg"; then echo "$0: no input file specified." >&2 exit 1 |
︙ | |||
228 229 230 231 232 233 234 | 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 | - + - + | fi cp_umask=$mode$u_plus_rw;; esac fi for src do |
︙ | |||
252 253 254 255 256 257 258 | 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 | - - - - - | exit 1 fi if test -z "$dst_arg"; then echo "$0: no destination specified." >&2 exit 1 fi |
︙ | |||
385 386 387 388 389 390 391 | 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 | - + - + | # The umask is ridiculous, or mkdir does not conform to POSIX, # or it failed possibly due to a race condition. Create the # directory the slow way, step by step, checking for races as we go. case $dstdir in /*) prefix='/';; |
︙ |