diff options
author | Remy Bohmer <linux@bohmer.net> | 2010-05-07 23:33:55 +0200 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2010-06-02 21:09:29 +0200 |
commit | 3a7b2683f3a80ee6469619391ae5ca193a04718f (patch) | |
tree | dcde9fed0dca7d637494c83de0b6f7cba725e577 /scripts/lib/ptxd_lib_cfgchg.sh | |
parent | 48040b082248e1a677b48c1884695dbfb564c717 (diff) | |
download | ptxdist-3a7b2683f3a80ee6469619391ae5ca193a04718f.tar.gz ptxdist-3a7b2683f3a80ee6469619391ae5ca193a04718f.tar.xz |
Ptxdist fails to build if config files are readonly.
Ptxdist just makes a copy of the config file, but it actually needs
a writable copy of the config file
Signed-off-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'scripts/lib/ptxd_lib_cfgchg.sh')
-rw-r--r-- | scripts/lib/ptxd_lib_cfgchg.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_lib_cfgchg.sh b/scripts/lib/ptxd_lib_cfgchg.sh index 8ec0b26c9..5c1df058f 100644 --- a/scripts/lib/ptxd_lib_cfgchg.sh +++ b/scripts/lib/ptxd_lib_cfgchg.sh @@ -77,6 +77,6 @@ ptxd_cfgchg() xargs -0 -r rm -f -- fi - cp "${cfg_orig}" "${cfg_old}" || return + install -m644 "${cfg_orig}" "${cfg_old}" || return done } |