Skip to content

Commit

Permalink
Fix 'scons install' when strip=yes: Cannot strip scripts.
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Greear <greearb@candelatech.com>
  • Loading branch information
greearb committed Jun 9, 2010
1 parent 98b4018 commit 3545dc6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xorp/bgp/SConscript
Expand Up @@ -163,6 +163,6 @@ if is_shared:
bgp_env.Alias('install', env.InstallLibrary(bgp_env['xorp_libdir'], libxorp_bgp))

# Install scripts
env.Alias('install', env.InstallProgram('$exec_prefix/sbin/', env.Entry('bgp_xrl_shell_funcs.sh')))
env.Alias('install', env.InstallScript('$exec_prefix/sbin/', env.Entry('bgp_xrl_shell_funcs.sh')))

Default(bgp)
2 changes: 1 addition & 1 deletion xorp/fea/SConscript
Expand Up @@ -234,6 +234,6 @@ if env['enable_click']:
#######################

# Install scripts
env.Alias('install', env.InstallProgram('$exec_prefix/sbin/', env.Entry('fea_xrl_shell_funcs.sh')))
env.Alias('install', env.InstallScript('$exec_prefix/sbin/', env.Entry('fea_xrl_shell_funcs.sh')))

Default(libxorp_fea, fea, feadummy)
2 changes: 1 addition & 1 deletion xorp/rib/SConscript
Expand Up @@ -132,6 +132,6 @@ if is_shared:
env.Alias('install', env.InstallLibrary(env['xorp_libdir'], libxorp_rib))

# Install scripts
env.Alias('install', env.InstallProgram('$exec_prefix/sbin/', env.Entry('rib_xrl_shell_funcs.sh')))
env.Alias('install', env.InstallScript('$exec_prefix/sbin/', env.Entry('rib_xrl_shell_funcs.sh')))

Default(rib)

0 comments on commit 3545dc6

Please sign in to comment.