diff options
| author | Simon Rettberg | 2013-02-25 20:13:48 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2013-02-25 20:13:48 +0100 |
| commit | 8d34cf49ad72e556b88033202f7dde130d80fa74 (patch) | |
| tree | 3b73845f6e83f6caa47215173ca1899acc0f262d /remote/tools/policykit | |
| parent | fix tarcopy call for base (diff) | |
| download | tm-scripts-8d34cf49ad72e556b88033202f7dde130d80fa74.tar.gz tm-scripts-8d34cf49ad72e556b88033202f7dde130d80fa74.tar.xz tm-scripts-8d34cf49ad72e556b88033202f7dde130d80fa74.zip | |
Several fixes and improvements:
- return uid and gid again for add_user and add_group
- abort execution if sourcing the .build or .conf file of a module fails
- make sure lightdm user and group exists when building the ldm module
- use tarcopy in all modules if appropriate
Diffstat (limited to 'remote/tools/policykit')
| -rw-r--r-- | remote/tools/policykit/policykit.build | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/remote/tools/policykit/policykit.build b/remote/tools/policykit/policykit.build index 871025a1..a42f48b7 100644 --- a/remote/tools/policykit/policykit.build +++ b/remote/tools/policykit/policykit.build @@ -45,9 +45,7 @@ build () { # prepare target dir & copy there if [ -s "$COPYLIST" ]; then pinfo "using tar to copy all dependencies to $BUILDDIR" - tar -cpv $(cat $COPYLIST|sort -u) | tar -xpv -C $BUILDDIR - local RET=$? - [ $RET -ne 0 ] && perror "copy failed." + tarcopy "$(cat "$COPYLIST" | sort -u)" "$BUILDDIR" else pinfo "no dependencies found!" fi |
